Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
7507d594
Commit
7507d594
authored
Jan 06, 2005
by
Tom Lane
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adjust examples to avoid using keywords as identifiers, per Honda Shigehiro.
parent
4717992b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
9 deletions
+9
-9
doc/src/sgml/ref/release_savepoint.sgml
doc/src/sgml/ref/release_savepoint.sgml
+3
-3
doc/src/sgml/ref/savepoint.sgml
doc/src/sgml/ref/savepoint.sgml
+6
-6
No files found.
doc/src/sgml/ref/release_savepoint.sgml
View file @
7507d594
<!--
<!--
$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
PostgreSQL documentation
-->
-->
...
@@ -94,9 +94,9 @@ RELEASE [ SAVEPOINT ] <replaceable>savepoint_name</replaceable>
...
@@ -94,9 +94,9 @@ RELEASE [ SAVEPOINT ] <replaceable>savepoint_name</replaceable>
To establish and later destroy a savepoint:
To establish and later destroy a savepoint:
<programlisting>
<programlisting>
BEGIN;
BEGIN;
INSERT INTO table VALUES (3);
INSERT INTO table
1
VALUES (3);
SAVEPOINT my_savepoint;
SAVEPOINT my_savepoint;
INSERT INTO table VALUES (4);
INSERT INTO table
1
VALUES (4);
RELEASE SAVEPOINT my_savepoint;
RELEASE SAVEPOINT my_savepoint;
COMMIT;
COMMIT;
</programlisting>
</programlisting>
...
...
doc/src/sgml/ref/savepoint.sgml
View file @
7507d594
<!--
<!--
$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
PostgreSQL documentation
-->
-->
...
@@ -83,11 +83,11 @@ SAVEPOINT <replaceable>savepoint_name</replaceable>
...
@@ -83,11 +83,11 @@ SAVEPOINT <replaceable>savepoint_name</replaceable>
after it was established:
after it was established:
<programlisting>
<programlisting>
BEGIN;
BEGIN;
INSERT INTO table VALUES (1);
INSERT INTO table
1
VALUES (1);
SAVEPOINT my_savepoint;
SAVEPOINT my_savepoint;
INSERT INTO table VALUES (2);
INSERT INTO table
1
VALUES (2);
ROLLBACK TO SAVEPOINT my_savepoint;
ROLLBACK TO SAVEPOINT my_savepoint;
INSERT INTO table VALUES (3);
INSERT INTO table
1
VALUES (3);
COMMIT;
COMMIT;
</programlisting>
</programlisting>
The above transaction will insert the values 1 and 3, but not 2.
The above transaction will insert the values 1 and 3, but not 2.
...
@@ -97,9 +97,9 @@ COMMIT;
...
@@ -97,9 +97,9 @@ COMMIT;
To establish and later destroy a savepoint:
To establish and later destroy a savepoint:
<programlisting>
<programlisting>
BEGIN;
BEGIN;
INSERT INTO table VALUES (3);
INSERT INTO table
1
VALUES (3);
SAVEPOINT my_savepoint;
SAVEPOINT my_savepoint;
INSERT INTO table VALUES (4);
INSERT INTO table
1
VALUES (4);
RELEASE SAVEPOINT my_savepoint;
RELEASE SAVEPOINT my_savepoint;
COMMIT;
COMMIT;
</programlisting>
</programlisting>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment