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
d537e0b4
Commit
d537e0b4
authored
Feb 13, 2006
by
Tom Lane
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve documentation of --single-transaction option: fix markup, and
don't promise more than the code actually delivers.
parent
f5ef3d43
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
8 deletions
+14
-8
doc/src/sgml/ref/pg_restore.sgml
doc/src/sgml/ref/pg_restore.sgml
+6
-4
doc/src/sgml/ref/psql-ref.sgml
doc/src/sgml/ref/psql-ref.sgml
+8
-4
No files found.
doc/src/sgml/ref/pg_restore.sgml
View file @
d537e0b4
<!-- $PostgreSQL: pgsql/doc/src/sgml/ref/pg_restore.sgml,v 1.5
7 2006/02/12 04:04:32 momjian
Exp $ -->
<!-- $PostgreSQL: pgsql/doc/src/sgml/ref/pg_restore.sgml,v 1.5
8 2006/02/13 21:29:08 tgl
Exp $ -->
<refentry id="APP-PGRESTORE">
<refentry id="APP-PGRESTORE">
<refmeta>
<refmeta>
...
@@ -454,9 +454,11 @@
...
@@ -454,9 +454,11 @@
<term><option>--single-transaction</option></term>
<term><option>--single-transaction</option></term>
<listitem>
<listitem>
<para>
<para>
Force the restore to execute as a single transaction. Either all
Execute the restore as a single transaction (that is, wrap the
SQL statements complete successfully, or no changes are applied. This
emitted commands in <command>BEGIN</>/<command>COMMIT</>). This
option also forces --exit-on-error.
ensures that either all the commands complete successfully, or no
changes are applied. This option implies
<option>--exit-on-error</>.
</para>
</para>
</listitem>
</listitem>
</varlistentry>
</varlistentry>
...
...
doc/src/sgml/ref/psql-ref.sgml
View file @
d537e0b4
<!--
<!--
$PostgreSQL: pgsql/doc/src/sgml/ref/psql-ref.sgml,v 1.1
59 2006/02/12 04:04:32 momjian
Exp $
$PostgreSQL: pgsql/doc/src/sgml/ref/psql-ref.sgml,v 1.1
60 2006/02/13 21:29:08 tgl
Exp $
PostgreSQL documentation
PostgreSQL documentation
-->
-->
...
@@ -468,9 +468,13 @@ PostgreSQL documentation
...
@@ -468,9 +468,13 @@ PostgreSQL documentation
<term><option>--single-transaction</option></term>
<term><option>--single-transaction</option></term>
<listitem>
<listitem>
<para>
<para>
When psql executes a script with the -f option, this additional option
When <application>psql</application> executes a script with the
will force the script to execute as a single transaction. Either all
<option>-f</> option, adding this option wraps
SQL statements complete successfully, or no changes are applied.
<command>BEGIN</>/<command>COMMIT</> around the script to execute it
as a single transaction. This ensures that either all the commands
complete successfully, or no changes are applied. (However, if the
script itself uses <command>BEGIN</> or <command>COMMIT</>, this
option will not have the desired effect!)
</para>
</para>
</listitem>
</listitem>
</varlistentry>
</varlistentry>
...
...
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