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 @@
@@ -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 acc02b24970..7dc3cc24e08 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;