diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2005-01-06 20:53:34 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2005-01-06 20:53:34 +0000 |
commit | 7507d594d28a2ee22e67e961cd317af6053c35f4 (patch) | |
tree | b964ea197eb7b1840b8ea673d60efb9a11985cfa | |
parent | 4717992b4e6b3c752b8e07465011fe68da7e32b8 (diff) | |
download | postgresql-7507d594d28a2ee22e67e961cd317af6053c35f4.tar.gz postgresql-7507d594d28a2ee22e67e961cd317af6053c35f4.zip |
Adjust examples to avoid using keywords as identifiers, per Honda Shigehiro.
-rw-r--r-- | doc/src/sgml/ref/release_savepoint.sgml | 6 | ||||
-rw-r--r-- | doc/src/sgml/ref/savepoint.sgml | 12 |
2 files changed, 9 insertions, 9 deletions
diff --git a/doc/src/sgml/ref/release_savepoint.sgml b/doc/src/sgml/ref/release_savepoint.sgml index 2237aa32dfc..ab6d3f35293 100644 --- a/doc/src/sgml/ref/release_savepoint.sgml +++ b/doc/src/sgml/ref/release_savepoint.sgml @@ -1,5 +1,5 @@ <!-- -$PostgreSQL: pgsql/doc/src/sgml/ref/release_savepoint.sgml,v 1.3 2004/11/27 21:27:07 petere Exp $ +$PostgreSQL: pgsql/doc/src/sgml/ref/release_savepoint.sgml,v 1.4 2005/01/06 20:53:34 tgl Exp $ PostgreSQL documentation --> @@ -94,9 +94,9 @@ RELEASE [ SAVEPOINT ] <replaceable>savepoint_name</replaceable> To establish and later destroy a savepoint: <programlisting> BEGIN; - INSERT INTO table VALUES (3); + INSERT INTO table1 VALUES (3); SAVEPOINT my_savepoint; - INSERT INTO table VALUES (4); + INSERT INTO table1 VALUES (4); RELEASE SAVEPOINT my_savepoint; COMMIT; </programlisting> diff --git a/doc/src/sgml/ref/savepoint.sgml b/doc/src/sgml/ref/savepoint.sgml index acc02b24970..7dc3cc24e08 100644 --- a/doc/src/sgml/ref/savepoint.sgml +++ b/doc/src/sgml/ref/savepoint.sgml @@ -1,5 +1,5 @@ <!-- -$PostgreSQL: pgsql/doc/src/sgml/ref/savepoint.sgml,v 1.3 2004/09/20 00:04:19 neilc Exp $ +$PostgreSQL: pgsql/doc/src/sgml/ref/savepoint.sgml,v 1.4 2005/01/06 20:53:34 tgl Exp $ PostgreSQL documentation --> @@ -83,11 +83,11 @@ SAVEPOINT <replaceable>savepoint_name</replaceable> after it was established: <programlisting> BEGIN; - INSERT INTO table VALUES (1); + INSERT INTO table1 VALUES (1); SAVEPOINT my_savepoint; - INSERT INTO table VALUES (2); + INSERT INTO table1 VALUES (2); ROLLBACK TO SAVEPOINT my_savepoint; - INSERT INTO table VALUES (3); + INSERT INTO table1 VALUES (3); COMMIT; </programlisting> The above transaction will insert the values 1 and 3, but not 2. @@ -97,9 +97,9 @@ COMMIT; To establish and later destroy a savepoint: <programlisting> BEGIN; - INSERT INTO table VALUES (3); + INSERT INTO table1 VALUES (3); SAVEPOINT my_savepoint; - INSERT INTO table VALUES (4); + INSERT INTO table1 VALUES (4); RELEASE SAVEPOINT my_savepoint; COMMIT; </programlisting> |