Adjust examples to avoid using keywords as identifiers, per Honda Shigehiro.
authorTom Lane
Thu, 6 Jan 2005 20:53:34 +0000 (20:53 +0000)
committerTom Lane
Thu, 6 Jan 2005 20:53:34 +0000 (20:53 +0000)
doc/src/sgml/ref/release_savepoint.sgml
doc/src/sgml/ref/savepoint.sgml

index 2237aa32dfc335e77751f6b079e754cfe2c025c0..ab6d3f352932e94165c3e29d57d2c7190df179c3 100644 (file)
@@ -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;
 
index acc02b24970f15c10ffa92e09d371d8c4895a6ec..7dc3cc24e0815245a5c78898e752480a6d203562 100644 (file)
@@ -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;