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
2f6b4560
Commit
2f6b4560
authored
Feb 19, 2010
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
First pass over client applications documentation proofreading.
gabrielle
parent
4e3a6163
Changes
13
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
59 additions
and
52 deletions
+59
-52
doc/src/sgml/ref/clusterdb.sgml
doc/src/sgml/ref/clusterdb.sgml
+2
-2
doc/src/sgml/ref/createdb.sgml
doc/src/sgml/ref/createdb.sgml
+4
-3
doc/src/sgml/ref/createlang.sgml
doc/src/sgml/ref/createlang.sgml
+3
-3
doc/src/sgml/ref/createuser.sgml
doc/src/sgml/ref/createuser.sgml
+2
-1
doc/src/sgml/ref/dropdb.sgml
doc/src/sgml/ref/dropdb.sgml
+2
-1
doc/src/sgml/ref/dropuser.sgml
doc/src/sgml/ref/dropuser.sgml
+2
-1
doc/src/sgml/ref/ecpg-ref.sgml
doc/src/sgml/ref/ecpg-ref.sgml
+2
-2
doc/src/sgml/ref/pg_dump.sgml
doc/src/sgml/ref/pg_dump.sgml
+7
-6
doc/src/sgml/ref/pg_dumpall.sgml
doc/src/sgml/ref/pg_dumpall.sgml
+9
-8
doc/src/sgml/ref/pg_restore.sgml
doc/src/sgml/ref/pg_restore.sgml
+7
-6
doc/src/sgml/ref/psql-ref.sgml
doc/src/sgml/ref/psql-ref.sgml
+14
-14
doc/src/sgml/ref/vacuumdb.sgml
doc/src/sgml/ref/vacuumdb.sgml
+3
-3
doc/src/sgml/reference.sgml
doc/src/sgml/reference.sgml
+2
-2
No files found.
doc/src/sgml/ref/clusterdb.sgml
View file @
2f6b4560
<!--
<!--
$PostgreSQL: pgsql/doc/src/sgml/ref/clusterdb.sgml,v 1.2
5 2009/02/26 16:02:37 petere
Exp $
$PostgreSQL: pgsql/doc/src/sgml/ref/clusterdb.sgml,v 1.2
6 2010/02/19 03:50:03 momjian
Exp $
PostgreSQL documentation
PostgreSQL documentation
-->
-->
...
@@ -29,8 +29,8 @@ PostgreSQL documentation
...
@@ -29,8 +29,8 @@ PostgreSQL documentation
<sbr>
<sbr>
<command>clusterdb</command>
<command>clusterdb</command>
<arg rep="repeat"><replaceable>connection-option</replaceable></arg>
<arg rep="repeat"><replaceable>connection-option</replaceable></arg>
<group><arg>--all</arg><arg>-a</arg></group>
<group><arg>--verbose</arg><arg>-v</arg></group>
<group><arg>--verbose</arg><arg>-v</arg></group>
<group><arg>--all</arg><arg>-a</arg></group>
</cmdsynopsis>
</cmdsynopsis>
</refsynopsisdiv>
</refsynopsisdiv>
...
...
doc/src/sgml/ref/createdb.sgml
View file @
2f6b4560
<!--
<!--
$PostgreSQL: pgsql/doc/src/sgml/ref/createdb.sgml,v 1.
49 2009/02/26 16:02:37 petere
Exp $
$PostgreSQL: pgsql/doc/src/sgml/ref/createdb.sgml,v 1.
50 2010/02/19 03:50:03 momjian
Exp $
PostgreSQL documentation
PostgreSQL documentation
-->
-->
...
@@ -22,6 +22,7 @@ PostgreSQL documentation
...
@@ -22,6 +22,7 @@ PostgreSQL documentation
<refsynopsisdiv>
<refsynopsisdiv>
<cmdsynopsis>
<cmdsynopsis>
<command>createdb</command>
<command>createdb</command>
<arg rep="repeat"><replaceable>connection-option</replaceable></arg>
<arg rep="repeat"><replaceable>option</replaceable></arg>
<arg rep="repeat"><replaceable>option</replaceable></arg>
<arg><replaceable>dbname</replaceable></arg>
<arg><replaceable>dbname</replaceable></arg>
<arg><replaceable>description</replaceable></arg>
<arg><replaceable>description</replaceable></arg>
...
@@ -41,7 +42,7 @@ PostgreSQL documentation
...
@@ -41,7 +42,7 @@ PostgreSQL documentation
<para>
<para>
Normally, the database user who executes this command becomes the owner of
Normally, the database user who executes this command becomes the owner of
the new database.
the new database.
However a different owner can be specified via the <option>-O</option>
However
,
a different owner can be specified via the <option>-O</option>
option, if the executing user has appropriate privileges.
option, if the executing user has appropriate privileges.
</para>
</para>
...
@@ -171,7 +172,7 @@ PostgreSQL documentation
...
@@ -171,7 +172,7 @@ PostgreSQL documentation
</para>
</para>
<para>
<para>
The options <option>-D</option>, <option>-
E</option>, <option>-l</option>,
The options <option>-D</option>, <option>-
l</option>, <option>-E</option>,
<option>-O</option>, and
<option>-O</option>, and
<option>-T</option> correspond to options of the underlying
<option>-T</option> correspond to options of the underlying
SQL command <xref linkend="SQL-CREATEDATABASE"
SQL command <xref linkend="SQL-CREATEDATABASE"
...
...
doc/src/sgml/ref/createlang.sgml
View file @
2f6b4560
<!--
<!--
$PostgreSQL: pgsql/doc/src/sgml/ref/createlang.sgml,v 1.4
3 2009/02/26 16:02:37 petere
Exp $
$PostgreSQL: pgsql/doc/src/sgml/ref/createlang.sgml,v 1.4
4 2010/02/19 03:50:03 momjian
Exp $
PostgreSQL documentation
PostgreSQL documentation
-->
-->
...
@@ -69,7 +69,7 @@ PostgreSQL documentation
...
@@ -69,7 +69,7 @@ PostgreSQL documentation
<term><option><optional>--dbname</> <replaceable class="parameter">dbname</replaceable></></term>
<term><option><optional>--dbname</> <replaceable class="parameter">dbname</replaceable></></term>
<listitem>
<listitem>
<para>
<para>
Specifies t
o which database
the language should be added.
Specifies t
he database to which
the language should be added.
The default is to use the database with the same name as the
The default is to use the database with the same name as the
current system user.
current system user.
</para>
</para>
...
@@ -213,7 +213,7 @@ PostgreSQL documentation
...
@@ -213,7 +213,7 @@ PostgreSQL documentation
<para>
<para>
Most error messages are self-explanatory. If not, run
Most error messages are self-explanatory. If not, run
<application>createlang</application> with the <option>--echo</option>
<application>createlang</application> with the <option>--echo</option>
option and see
under
the respective <acronym>SQL</acronym> command
option and see the respective <acronym>SQL</acronym> command
for details. Also, any default connection settings and environment
for details. Also, any default connection settings and environment
variables used by the <application>libpq</application> front-end
variables used by the <application>libpq</application> front-end
library will apply.
library will apply.
...
...
doc/src/sgml/ref/createuser.sgml
View file @
2f6b4560
<!--
<!--
$PostgreSQL: pgsql/doc/src/sgml/ref/createuser.sgml,v 1.5
2 2009/02/26 16:02:37 petere
Exp $
$PostgreSQL: pgsql/doc/src/sgml/ref/createuser.sgml,v 1.5
3 2010/02/19 03:50:03 momjian
Exp $
PostgreSQL documentation
PostgreSQL documentation
-->
-->
...
@@ -22,6 +22,7 @@ PostgreSQL documentation
...
@@ -22,6 +22,7 @@ PostgreSQL documentation
<refsynopsisdiv>
<refsynopsisdiv>
<cmdsynopsis>
<cmdsynopsis>
<command>createuser</command>
<command>createuser</command>
<arg rep="repeat"><replaceable>connection-option</replaceable></arg>
<arg rep="repeat"><replaceable>option</replaceable></arg>
<arg rep="repeat"><replaceable>option</replaceable></arg>
<arg><replaceable>username</replaceable></arg>
<arg><replaceable>username</replaceable></arg>
</cmdsynopsis>
</cmdsynopsis>
...
...
doc/src/sgml/ref/dropdb.sgml
View file @
2f6b4560
<!--
<!--
$PostgreSQL: pgsql/doc/src/sgml/ref/dropdb.sgml,v 1.3
5 2009/02/26 16:02:37 petere
Exp $
$PostgreSQL: pgsql/doc/src/sgml/ref/dropdb.sgml,v 1.3
6 2010/02/19 03:50:03 momjian
Exp $
PostgreSQL documentation
PostgreSQL documentation
-->
-->
...
@@ -22,6 +22,7 @@ PostgreSQL documentation
...
@@ -22,6 +22,7 @@ PostgreSQL documentation
<refsynopsisdiv>
<refsynopsisdiv>
<cmdsynopsis>
<cmdsynopsis>
<command>dropdb</command>
<command>dropdb</command>
<arg rep="repeat"><replaceable>connection-option</replaceable></arg>
<arg rep="repeat"><replaceable>option</replaceable></arg>
<arg rep="repeat"><replaceable>option</replaceable></arg>
<arg choice="plain"><replaceable>dbname</replaceable></arg>
<arg choice="plain"><replaceable>dbname</replaceable></arg>
</cmdsynopsis>
</cmdsynopsis>
...
...
doc/src/sgml/ref/dropuser.sgml
View file @
2f6b4560
<!--
<!--
$PostgreSQL: pgsql/doc/src/sgml/ref/dropuser.sgml,v 1.4
0 2009/02/26 16:02:37 petere
Exp $
$PostgreSQL: pgsql/doc/src/sgml/ref/dropuser.sgml,v 1.4
1 2010/02/19 03:50:03 momjian
Exp $
PostgreSQL documentation
PostgreSQL documentation
-->
-->
...
@@ -22,6 +22,7 @@ PostgreSQL documentation
...
@@ -22,6 +22,7 @@ PostgreSQL documentation
<refsynopsisdiv>
<refsynopsisdiv>
<cmdsynopsis>
<cmdsynopsis>
<command>dropuser</command>
<command>dropuser</command>
<arg rep="repeat"><replaceable>connection-option</replaceable></arg>
<arg rep="repeat"><replaceable>option</replaceable></arg>
<arg rep="repeat"><replaceable>option</replaceable></arg>
<arg><replaceable>username</replaceable></arg>
<arg><replaceable>username</replaceable></arg>
</cmdsynopsis>
</cmdsynopsis>
...
...
doc/src/sgml/ref/ecpg-ref.sgml
View file @
2f6b4560
<!--
<!--
$PostgreSQL: pgsql/doc/src/sgml/ref/ecpg-ref.sgml,v 1.3
2 2007/01/31 23:26
:03 momjian Exp $
$PostgreSQL: pgsql/doc/src/sgml/ref/ecpg-ref.sgml,v 1.3
3 2010/02/19 03:50
:03 momjian Exp $
PostgreSQL documentation
PostgreSQL documentation
-->
-->
...
@@ -192,7 +192,7 @@ PostgreSQL documentation
...
@@ -192,7 +192,7 @@ PostgreSQL documentation
<para>
<para>
When compiling the preprocessed C code files, the compiler needs to
When compiling the preprocessed C code files, the compiler needs to
be able to find the <application>ECPG</> header files in the
be able to find the <application>ECPG</> header files in the
<productname>PostgreSQL</> include directory. Therefore,
one
might
<productname>PostgreSQL</> include directory. Therefore,
you
might
have to use the <option>-I</> option when invoking the compiler
have to use the <option>-I</> option when invoking the compiler
(e.g., <literal>-I/usr/local/pgsql/include</literal>).
(e.g., <literal>-I/usr/local/pgsql/include</literal>).
</para>
</para>
...
...
doc/src/sgml/ref/pg_dump.sgml
View file @
2f6b4560
<!--
<!--
$PostgreSQL: pgsql/doc/src/sgml/ref/pg_dump.sgml,v 1.11
4 2009/08/07 20:54:31 alvherre
Exp $
$PostgreSQL: pgsql/doc/src/sgml/ref/pg_dump.sgml,v 1.11
5 2010/02/19 03:50:03 momjian
Exp $
PostgreSQL documentation
PostgreSQL documentation
-->
-->
...
@@ -25,6 +25,7 @@ PostgreSQL documentation
...
@@ -25,6 +25,7 @@ PostgreSQL documentation
<refsynopsisdiv>
<refsynopsisdiv>
<cmdsynopsis>
<cmdsynopsis>
<command>pg_dump</command>
<command>pg_dump</command>
<arg rep="repeat"><replaceable>connection-option</replaceable></arg>
<arg rep="repeat"><replaceable>option</replaceable></arg>
<arg rep="repeat"><replaceable>option</replaceable></arg>
<arg><replaceable>dbname</replaceable></arg>
<arg><replaceable>dbname</replaceable></arg>
</cmdsynopsis>
</cmdsynopsis>
...
@@ -51,7 +52,7 @@ PostgreSQL documentation
...
@@ -51,7 +52,7 @@ PostgreSQL documentation
saved. To restore from such a script, feed it to <xref
saved. To restore from such a script, feed it to <xref
linkend="app-psql">. Script files
linkend="app-psql">. Script files
can be used to reconstruct the database even on other machines and
can be used to reconstruct the database even on other machines and
other architectures; with some modifications even on other SQL
other architectures; with some modifications
,
even on other SQL
database products.
database products.
</para>
</para>
...
@@ -530,7 +531,7 @@ PostgreSQL documentation
...
@@ -530,7 +531,7 @@ PostgreSQL documentation
than <command>COPY</command>). This will make restoration very slow;
than <command>COPY</command>). This will make restoration very slow;
it is mainly useful for making dumps that can be loaded into
it is mainly useful for making dumps that can be loaded into
non-<productname>PostgreSQL</productname> databases.
non-<productname>PostgreSQL</productname> databases.
Also
, since this option generates a separate command for each row,
However
, since this option generates a separate command for each row,
an error in reloading a row causes only that row to be lost rather
an error in reloading a row causes only that row to be lost rather
than the entire table contents.
than the entire table contents.
Note that
Note that
...
@@ -553,7 +554,7 @@ PostgreSQL documentation
...
@@ -553,7 +554,7 @@ PostgreSQL documentation
...</literal>). This will make restoration very slow; it is mainly
...</literal>). This will make restoration very slow; it is mainly
useful for making dumps that can be loaded into
useful for making dumps that can be loaded into
non-<productname>PostgreSQL</productname> databases.
non-<productname>PostgreSQL</productname> databases.
Also
, since this option generates a separate command for each row,
However
, since this option generates a separate command for each row,
an error in reloading a row causes only that row to be lost rather
an error in reloading a row causes only that row to be lost rather
than the entire table contents.
than the entire table contents.
</para>
</para>
...
@@ -636,7 +637,7 @@ PostgreSQL documentation
...
@@ -636,7 +637,7 @@ PostgreSQL documentation
<para>
<para>
Output SQL-standard <command>SET SESSION AUTHORIZATION</> commands
Output SQL-standard <command>SET SESSION AUTHORIZATION</> commands
instead of <command>ALTER OWNER</> commands to determine object
instead of <command>ALTER OWNER</> commands to determine object
ownership. This makes the dump more standards
compatible, but
ownership. This makes the dump more standards
-
compatible, but
depending on the history of the objects in the dump, might not restore
depending on the history of the objects in the dump, might not restore
properly. Also, a dump using <command>SET SESSION AUTHORIZATION</>
properly. Also, a dump using <command>SET SESSION AUTHORIZATION</>
will certainly require superuser privileges to restore correctly,
will certainly require superuser privileges to restore correctly,
...
@@ -834,7 +835,7 @@ CREATE DATABASE foo WITH TEMPLATE template0;
...
@@ -834,7 +835,7 @@ CREATE DATABASE foo WITH TEMPLATE template0;
does not contain the statistics used by the optimizer to make
does not contain the statistics used by the optimizer to make
query planning decisions. Therefore, it is wise to run
query planning decisions. Therefore, it is wise to run
<command>ANALYZE</command> after restoring from a dump file
<command>ANALYZE</command> after restoring from a dump file
to ensure
good
performance; see <xref linkend="vacuum-for-statistics">
to ensure
optimal
performance; see <xref linkend="vacuum-for-statistics">
and <xref linkend="autovacuum"> for more information.
and <xref linkend="autovacuum"> for more information.
The dump file also does not
The dump file also does not
contain any <command>ALTER DATABASE ... SET</> commands;
contain any <command>ALTER DATABASE ... SET</> commands;
...
...
doc/src/sgml/ref/pg_dumpall.sgml
View file @
2f6b4560
<!--
<!--
$PostgreSQL: pgsql/doc/src/sgml/ref/pg_dumpall.sgml,v 1.
79 2009/03/22 16:44:26 tgl
Exp $
$PostgreSQL: pgsql/doc/src/sgml/ref/pg_dumpall.sgml,v 1.
80 2010/02/19 03:50:03 momjian
Exp $
PostgreSQL documentation
PostgreSQL documentation
-->
-->
...
@@ -22,6 +22,7 @@ PostgreSQL documentation
...
@@ -22,6 +22,7 @@ PostgreSQL documentation
<refsynopsisdiv>
<refsynopsisdiv>
<cmdsynopsis>
<cmdsynopsis>
<command>pg_dumpall</command>
<command>pg_dumpall</command>
<arg rep="repeat"><replaceable>connection-option</replaceable></arg>
<arg rep="repeat"><replaceable>option</replaceable></arg>
<arg rep="repeat"><replaceable>option</replaceable></arg>
</cmdsynopsis>
</cmdsynopsis>
</refsynopsisdiv>
</refsynopsisdiv>
...
@@ -53,8 +54,8 @@ PostgreSQL documentation
...
@@ -53,8 +54,8 @@ PostgreSQL documentation
</para>
</para>
<para>
<para>
The SQL script will be written to the standard output.
Shell
The SQL script will be written to the standard output.
Use the
operators should be used
to redirect it into a file.
[-f|file] option or shell operators
to redirect it into a file.
</para>
</para>
<para>
<para>
...
@@ -168,13 +169,13 @@ PostgreSQL documentation
...
@@ -168,13 +169,13 @@ PostgreSQL documentation
<listitem>
<listitem>
<para>
<para>
Do not wait forever to acquire shared table locks at the beginning of
Do not wait forever to acquire shared table locks at the beginning of
the dump. Instead fail if unable to lock a table within the specified
the dump. Instead
,
fail if unable to lock a table within the specified
<replaceable class="parameter">timeout</>. The timeout may be
<replaceable class="parameter">timeout</>. The timeout may be
specified in any of the formats accepted by <command>SET
specified in any of the formats accepted by <command>SET
statement_timeout</>.
(
Allowed values vary depending on the server
statement_timeout</>. Allowed values vary depending on the server
version you are dumping from, but an integer number of milliseconds
version you are dumping from, but an integer number of milliseconds
is accepted by all versions since 7.3. This option is ignored when
is accepted by all versions since 7.3. This option is ignored when
dumping from a pre-7.3 server.
)
dumping from a pre-7.3 server.
</para>
</para>
</listitem>
</listitem>
</varlistentry>
</varlistentry>
...
@@ -510,7 +511,7 @@ PostgreSQL documentation
...
@@ -510,7 +511,7 @@ PostgreSQL documentation
<para>
<para>
<application>pg_dumpall</application> requires all needed
<application>pg_dumpall</application> requires all needed
tablespace directories to exist before the restore
, else
tablespace directories to exist before the restore
; otherwise,
database creation will fail for databases in non-default
database creation will fail for databases in non-default
locations.
locations.
</para>
</para>
...
@@ -528,7 +529,7 @@ PostgreSQL documentation
...
@@ -528,7 +529,7 @@ PostgreSQL documentation
</para>
</para>
<para>
<para>
To reload
this database use, for exampl
e:
To reload
database(s) from this file, you can us
e:
<screen>
<screen>
<prompt>$</prompt> <userinput>psql -f db.out postgres</userinput>
<prompt>$</prompt> <userinput>psql -f db.out postgres</userinput>
</screen>
</screen>
...
...
doc/src/sgml/ref/pg_restore.sgml
View file @
2f6b4560
<!-- $PostgreSQL: pgsql/doc/src/sgml/ref/pg_restore.sgml,v 1.8
2 2009/08/07 20:54:31 alvherre
Exp $ -->
<!-- $PostgreSQL: pgsql/doc/src/sgml/ref/pg_restore.sgml,v 1.8
3 2010/02/19 03:50:03 momjian
Exp $ -->
<refentry id="APP-PGRESTORE">
<refentry id="APP-PGRESTORE">
<refmeta>
<refmeta>
...
@@ -23,6 +23,7 @@
...
@@ -23,6 +23,7 @@
<refsynopsisdiv>
<refsynopsisdiv>
<cmdsynopsis>
<cmdsynopsis>
<command>pg_restore</command>
<command>pg_restore</command>
<arg rep="repeat"><replaceable>connection-option</replaceable></arg>
<arg rep="repeat"><replaceable>option</replaceable></arg>
<arg rep="repeat"><replaceable>option</replaceable></arg>
<arg><replaceable>filename</replaceable></arg>
<arg><replaceable>filename</replaceable></arg>
</cmdsynopsis>
</cmdsynopsis>
...
@@ -241,7 +242,7 @@
...
@@ -241,7 +242,7 @@
good place to start is the number of CPU cores on the server,
good place to start is the number of CPU cores on the server,
but values larger than that can also lead to faster restore
but values larger than that can also lead to faster restore
times in many cases. Of course, values that are too high will
times in many cases. Of course, values that are too high will
lead to decreas
ing
performance because of thrashing.
lead to decreas
ed
performance because of thrashing.
</para>
</para>
<para>
<para>
...
@@ -353,7 +354,7 @@
...
@@ -353,7 +354,7 @@
<listitem>
<listitem>
<para>
<para>
Restore only the schema (data definitions), not the data (table
Restore only the schema (data definitions), not the data (table
contents).
Sequence current
values will not be restored, either.
contents).
Current sequence
values will not be restored, either.
(Do not confuse this with the <option>--schema</> option, which
(Do not confuse this with the <option>--schema</> option, which
uses the word <quote>schema</> in a different meaning.)
uses the word <quote>schema</> in a different meaning.)
</para>
</para>
...
@@ -440,7 +441,7 @@
...
@@ -440,7 +441,7 @@
<para>
<para>
Output SQL-standard <command>SET SESSION AUTHORIZATION</> commands
Output SQL-standard <command>SET SESSION AUTHORIZATION</> commands
instead of <command>ALTER OWNER</> commands to determine object
instead of <command>ALTER OWNER</> commands to determine object
ownership. This makes the dump more standards
compatible, but
ownership. This makes the dump more standards
-
compatible, but
depending on the history of the objects in the dump, might not restore
depending on the history of the objects in the dump, might not restore
properly.
properly.
</para>
</para>
...
@@ -653,7 +654,7 @@ CREATE DATABASE foo WITH TEMPLATE template0;
...
@@ -653,7 +654,7 @@ CREATE DATABASE foo WITH TEMPLATE template0;
When restoring data to a pre-existing table and the option
When restoring data to a pre-existing table and the option
<option>--disable-triggers</> is used,
<option>--disable-triggers</> is used,
<application>pg_restore</application> emits commands
<application>pg_restore</application> emits commands
to disable triggers on user tables before inserting the data then emits commands to
to disable triggers on user tables before inserting the data
,
then emits commands to
re-enable them after the data has been inserted. If the restore is stopped in the
re-enable them after the data has been inserted. If the restore is stopped in the
middle, the system catalogs might be left in the wrong state.
middle, the system catalogs might be left in the wrong state.
</para>
</para>
...
@@ -662,7 +663,7 @@ CREATE DATABASE foo WITH TEMPLATE template0;
...
@@ -662,7 +663,7 @@ CREATE DATABASE foo WITH TEMPLATE template0;
<listitem>
<listitem>
<para>
<para>
<application>pg_restore</application> cannot restore large objects
<application>pg_restore</application> cannot restore large objects
selectively
, for instance
only those for a specific table. If
selectively
; for instance,
only those for a specific table. If
an archive contains large objects, then all large objects will be
an archive contains large objects, then all large objects will be
restored, or none of them if they are excluded via <option>-L</option>,
restored, or none of them if they are excluded via <option>-L</option>,
<option>-t</option>, or other options.
<option>-t</option>, or other options.
...
...
doc/src/sgml/ref/psql-ref.sgml
View file @
2f6b4560
<!--
<!--
$PostgreSQL: pgsql/doc/src/sgml/ref/psql-ref.sgml,v 1.23
7 2010/01/29 17:44:12 rhaas
Exp $
$PostgreSQL: pgsql/doc/src/sgml/ref/psql-ref.sgml,v 1.23
8 2010/02/19 03:50:03 momjian
Exp $
PostgreSQL documentation
PostgreSQL documentation
-->
-->
...
@@ -54,7 +54,7 @@ PostgreSQL documentation
...
@@ -54,7 +54,7 @@ PostgreSQL documentation
<listitem>
<listitem>
<para>
<para>
Print all input lines to standard output as they are read. This is more
Print all input lines to standard output as they are read. This is more
useful for script processing
rather
than interactive mode. This is
useful for script processing than interactive mode. This is
equivalent to setting the variable <varname>ECHO</varname> to
equivalent to setting the variable <varname>ECHO</varname> to
<literal>all</literal>.
<literal>all</literal>.
</para>
</para>
...
@@ -84,7 +84,7 @@ PostgreSQL documentation
...
@@ -84,7 +84,7 @@ PostgreSQL documentation
<para>
<para>
<replaceable class="parameter">command</replaceable> must be either
<replaceable class="parameter">command</replaceable> must be either
a command string that is completely parsable by the server (i.e.,
a command string that is completely parsable by the server (i.e.,
it contains no <application>psql</application>
specific features),
it contains no <application>psql</application>
-
specific features),
or a single backslash command. Thus you cannot mix
or a single backslash command. Thus you cannot mix
<acronym>SQL</acronym> and <application>psql</application>
<acronym>SQL</acronym> and <application>psql</application>
meta-commands with this option. To achieve that, you could
meta-commands with this option. To achieve that, you could
...
@@ -173,7 +173,7 @@ PostgreSQL documentation
...
@@ -173,7 +173,7 @@ PostgreSQL documentation
numbers. There is also a slight chance that using this option will
numbers. There is also a slight chance that using this option will
reduce the start-up overhead. On the other hand, the variant using
reduce the start-up overhead. On the other hand, the variant using
the shell's input redirection is (in theory) guaranteed to yield
the shell's input redirection is (in theory) guaranteed to yield
exactly the same output
that you would have gotten
had you entered
exactly the same output
you would have received
had you entered
everything by hand.
everything by hand.
</para>
</para>
</listitem>
</listitem>
...
@@ -285,7 +285,7 @@ PostgreSQL documentation
...
@@ -285,7 +285,7 @@ PostgreSQL documentation
Specifies printing options, in the style of
Specifies printing options, in the style of
<command>\pset</command>. Note that here you
<command>\pset</command>. Note that here you
have to separate name and value with an equal sign instead of a
have to separate name and value with an equal sign instead of a
space.
Thus
to set the output format to LaTeX, you could write
space.
For example,
to set the output format to LaTeX, you could write
<literal>-P format=latex</literal>.
<literal>-P format=latex</literal>.
</para>
</para>
</listitem>
</listitem>
...
@@ -523,8 +523,8 @@ PostgreSQL documentation
...
@@ -523,8 +523,8 @@ PostgreSQL documentation
<para>
<para>
<application>psql</application> returns 0 to the shell if it
<application>psql</application> returns 0 to the shell if it
finished normally, 1 if a fatal error of its own
(
out of memory,
finished normally, 1 if a fatal error of its own
occurs (e.g.
out of memory,
file not found)
occurs
, 2 if the connection to the server went bad
file not found), 2 if the connection to the server went bad
and the session was not interactive, and 3 if an error occurred in a
and the session was not interactive, and 3 if an error occurred in a
script and the variable <varname>ON_ERROR_STOP</varname> was set.
script and the variable <varname>ON_ERROR_STOP</varname> was set.
</para>
</para>
...
@@ -541,14 +541,14 @@ PostgreSQL documentation
...
@@ -541,14 +541,14 @@ PostgreSQL documentation
<application>psql</application> is a regular
<application>psql</application> is a regular
<productname>PostgreSQL</productname> client application. In order
<productname>PostgreSQL</productname> client application. In order
to connect to a database you need to know the name of your target
to connect to a database you need to know the name of your target
database, the host name and port number of the server and what user
database, the host name and port number of the server
,
and what user
name you want to connect as. <application>psql</application> can be
name you want to connect as. <application>psql</application> can be
told about those parameters via command line options, namely
told about those parameters via command line options, namely
<option>-d</option>, <option>-h</option>, <option>-p</option>, and
<option>-d</option>, <option>-h</option>, <option>-p</option>, and
<option>-U</option> respectively. If an argument is found that does
<option>-U</option> respectively. If an argument is found that does
not belong to any option it will be interpreted as the database name
not belong to any option it will be interpreted as the database name
(or the user name, if the database name is already given). Not all
(or the user name, if the database name is already given). Not all
these options are required; there are useful defaults. If you omit the host
of
these options are required; there are useful defaults. If you omit the host
name, <application>psql</> will connect via a Unix-domain socket
name, <application>psql</> will connect via a Unix-domain socket
to a server on the local host, or via TCP/IP to <literal>localhost</> on
to a server on the local host, or via TCP/IP to <literal>localhost</> on
machines that don't have Unix-domain sockets. The default port number is
machines that don't have Unix-domain sockets. The default port number is
...
@@ -633,7 +633,7 @@ testdb=>
...
@@ -633,7 +633,7 @@ testdb=>
Anything you enter in <application>psql</application> that begins
Anything you enter in <application>psql</application> that begins
with an unquoted backslash is a <application>psql</application>
with an unquoted backslash is a <application>psql</application>
meta-command that is processed by <application>psql</application>
meta-command that is processed by <application>psql</application>
itself. These commands
help
make
itself. These commands make
<application>psql</application> more useful for administration or
<application>psql</application> more useful for administration or
scripting. Meta-commands are often called slash or backslash commands.
scripting. Meta-commands are often called slash or backslash commands.
</para>
</para>
...
@@ -1727,7 +1727,7 @@ lo_import 152801
...
@@ -1727,7 +1727,7 @@ lo_import 152801
<para>
<para>
<literal>aligned</literal> format is the standard, human-readable,
<literal>aligned</literal> format is the standard, human-readable,
nicely formatted text output
that is
default.
nicely formatted text output
; this is the
default.
</para>
</para>
<para>
<para>
...
@@ -2189,7 +2189,7 @@ lo_import 152801
...
@@ -2189,7 +2189,7 @@ lo_import 152801
<para>
<para>
Escapes to a separate Unix shell or executes the Unix command
Escapes to a separate Unix shell or executes the Unix command
<replaceable class="parameter">command</replaceable>. The
<replaceable class="parameter">command</replaceable>. The
arguments are not further interpreted
,
the shell will see them
arguments are not further interpreted
;
the shell will see them
as-is.
as-is.
</para>
</para>
</listitem>
</listitem>
...
@@ -2351,7 +2351,7 @@ bar
...
@@ -2351,7 +2351,7 @@ bar
number of them. A number of these variables are treated specially
number of them. A number of these variables are treated specially
by <application>psql</application>. They indicate certain option
by <application>psql</application>. They indicate certain option
settings that can be changed at run time by altering the value of
settings that can be changed at run time by altering the value of
the variable or represent some state of the application. Although
the variable or
that
represent some state of the application. Although
you can use these variables for any other purpose, this is not
you can use these variables for any other purpose, this is not
recommended, as the program behavior might grow really strange
recommended, as the program behavior might grow really strange
really quickly. By convention, all specially treated variables
really quickly. By convention, all specially treated variables
...
@@ -2763,7 +2763,7 @@ testdb=> <userinput>INSERT INTO my_table VALUES (:'content');</userinput>
...
@@ -2763,7 +2763,7 @@ testdb=> <userinput>INSERT INTO my_table VALUES (:'content');</userinput>
Since colons can legally appear in SQL commands, an apparent attempt
Since colons can legally appear in SQL commands, an apparent attempt
at interpolation (such as <literal>:name</literal>,
at interpolation (such as <literal>:name</literal>,
<literal>:'name'</literal>, or <literal>:"name"</literal>) is not
<literal>:'name'</literal>, or <literal>:"name"</literal>) is not
changed unless the named variable is currently set. In any case you
changed unless the named variable is currently set. In any case
,
you
can escape a colon with a backslash to protect it from substitution.
can escape a colon with a backslash to protect it from substitution.
(The colon syntax for variables is standard <acronym>SQL</acronym> for
(The colon syntax for variables is standard <acronym>SQL</acronym> for
embedded query languages, such as <application>ECPG</application>.
embedded query languages, such as <application>ECPG</application>.
...
...
doc/src/sgml/ref/vacuumdb.sgml
View file @
2f6b4560
<!--
<!--
$PostgreSQL: pgsql/doc/src/sgml/ref/vacuumdb.sgml,v 1.5
0 2010/02/08 04:33:51 tgl
Exp $
$PostgreSQL: pgsql/doc/src/sgml/ref/vacuumdb.sgml,v 1.5
1 2010/02/19 03:50:03 momjian
Exp $
PostgreSQL documentation
PostgreSQL documentation
-->
-->
...
@@ -34,13 +34,13 @@ PostgreSQL documentation
...
@@ -34,13 +34,13 @@ PostgreSQL documentation
<arg><replaceable>dbname</replaceable></arg>
<arg><replaceable>dbname</replaceable></arg>
<sbr>
<sbr>
<command>vacuumdb</command>
<command>vacuumdb</command>
<arg rep="repeat"><replaceable>connection-options</replaceable></arg>
<arg rep="repeat"><replaceable>connection-option</replaceable></arg>
<group><arg>--all</arg><arg>-a</arg></group>
<group><arg>--full</arg><arg>-f</arg></group>
<group><arg>--full</arg><arg>-f</arg></group>
<group><arg>--freeze</arg><arg>-F</arg></group>
<group><arg>--freeze</arg><arg>-F</arg></group>
<group><arg>--verbose</arg><arg>-v</arg></group>
<group><arg>--verbose</arg><arg>-v</arg></group>
<group><arg>--analyze</arg><arg>-z</arg></group>
<group><arg>--analyze</arg><arg>-z</arg></group>
<group><arg>--analyze-only</arg><arg>-Z</arg></group>
<group><arg>--analyze-only</arg><arg>-Z</arg></group>
<group><arg>--all</arg><arg>-a</arg></group>
</cmdsynopsis>
</cmdsynopsis>
</refsynopsisdiv>
</refsynopsisdiv>
...
...
doc/src/sgml/reference.sgml
View file @
2f6b4560
<!-- $PostgreSQL: pgsql/doc/src/sgml/reference.sgml,v 1.7
0 2009/12/11 03:34:55 itagaki
Exp $ -->
<!-- $PostgreSQL: pgsql/doc/src/sgml/reference.sgml,v 1.7
1 2010/02/19 03:50:02 momjian
Exp $ -->
<part id="reference">
<part id="reference">
<title>Reference</title>
<title>Reference</title>
...
@@ -184,7 +184,7 @@
...
@@ -184,7 +184,7 @@
<para>
<para>
This part contains reference information for
This part contains reference information for
<productname>PostgreSQL</productname> client applications and
<productname>PostgreSQL</productname> client applications and
utilities. Not all of these commands are of general utility
,
some
utilities. Not all of these commands are of general utility
;
some
might require special privileges. The common feature of these
might require special privileges. The common feature of these
applications is that they can be run on any host, independent of
applications is that they can be run on any host, independent of
where the database server resides.
where the database server resides.
...
...
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