From 7507d594d28a2ee22e67e961cd317af6053c35f4 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Thu, 6 Jan 2005 20:53:34 +0000 Subject: [PATCH] Adjust examples to avoid using keywords as identifiers, per Honda Shigehiro. --- doc/src/sgml/ref/release_savepoint.sgml | 6 +++--- 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 2237aa32df..ab6d3f3529 100644 --- a/doc/src/sgml/ref/release_savepoint.sgml +++ b/doc/src/sgml/ref/release_savepoint.sgml @@ -1,5 +1,5 @@ @@ -94,9 +94,9 @@ RELEASE [ SAVEPOINT ] savepoint_name To establish and later destroy a savepoint: 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; diff --git a/doc/src/sgml/ref/savepoint.sgml b/doc/src/sgml/ref/savepoint.sgml index acc02b2497..7dc3cc24e0 100644 --- a/doc/src/sgml/ref/savepoint.sgml +++ b/doc/src/sgml/ref/savepoint.sgml @@ -1,5 +1,5 @@ @@ -83,11 +83,11 @@ SAVEPOINT savepoint_name after it was established: 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; 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: 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;