mirror of
https://github.com/postgres/postgres.git
synced 2025-12-21 05:21:08 +03:00
A bunch of small doco updates motivated by scanning the comments on
the interactive docs.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<!--
|
||||
$Header: /cvsroot/pgsql/doc/src/sgml/ref/create_trigger.sgml,v 1.17 2001/09/13 18:17:44 petere Exp $
|
||||
$Header: /cvsroot/pgsql/doc/src/sgml/ref/create_trigger.sgml,v 1.18 2001/11/19 03:58:25 tgl Exp $
|
||||
Postgres documentation
|
||||
-->
|
||||
|
||||
@@ -44,7 +44,7 @@ CREATE TRIGGER <replaceable class="PARAMETER">name</replaceable> { BEFORE | AFTE
|
||||
<term><replaceable class="parameter">name</replaceable></term>
|
||||
<listitem>
|
||||
<para>
|
||||
The name of an existing trigger.
|
||||
The name to give the new trigger.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
@@ -52,7 +52,7 @@ CREATE TRIGGER <replaceable class="PARAMETER">name</replaceable> { BEFORE | AFTE
|
||||
<term><replaceable class="parameter">table</replaceable></term>
|
||||
<listitem>
|
||||
<para>
|
||||
The name of a table.
|
||||
The name of an existing table.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<!--
|
||||
$Header: /cvsroot/pgsql/doc/src/sgml/ref/drop_function.sgml,v 1.14 2001/09/13 19:40:34 petere Exp $
|
||||
$Header: /cvsroot/pgsql/doc/src/sgml/ref/drop_function.sgml,v 1.15 2001/11/19 03:58:25 tgl Exp $
|
||||
Postgres documentation
|
||||
-->
|
||||
|
||||
@@ -36,7 +36,7 @@ DROP FUNCTION <replaceable class="parameter">name</replaceable> ( [ <replaceable
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><replaceable class="parameter"> name</replaceable></term>
|
||||
<term><replaceable class="parameter">name</replaceable></term>
|
||||
<listitem>
|
||||
<para>
|
||||
The name of an existing function.
|
||||
@@ -47,7 +47,7 @@ DROP FUNCTION <replaceable class="parameter">name</replaceable> ( [ <replaceable
|
||||
<term><replaceable class="parameter">type</replaceable></term>
|
||||
<listitem>
|
||||
<para>
|
||||
The type of function parameters.
|
||||
The type of the function's parameters.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
@@ -99,11 +99,11 @@ NOTICE RemoveFunction: Function "<replaceable class="parameter">name</replaceabl
|
||||
Description
|
||||
</title>
|
||||
<para>
|
||||
DROP FUNCTION will remove references to an existing C
|
||||
DROP FUNCTION will remove the definition of an existing
|
||||
function. To execute this command the user must be the
|
||||
owner of the function. The input argument types to the
|
||||
function must be specified, as only the function with the
|
||||
given name and argument types will be removed.
|
||||
function must be specified, since several different functions
|
||||
may exist with the same name and different argument lists.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
@@ -117,8 +117,8 @@ NOTICE RemoveFunction: Function "<replaceable class="parameter">name</replaceabl
|
||||
</para>
|
||||
|
||||
<para>
|
||||
No checks are made to ensure that types, operators or access
|
||||
methods that rely on the function have been removed first.
|
||||
No checks are made to ensure that types, operators, access
|
||||
methods, or triggers that rely on the function have been removed first.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<!--
|
||||
$Header: /cvsroot/pgsql/doc/src/sgml/ref/pg_ctl-ref.sgml,v 1.9 2001/09/21 21:10:56 tgl Exp $
|
||||
$Header: /cvsroot/pgsql/doc/src/sgml/ref/pg_ctl-ref.sgml,v 1.10 2001/11/19 03:58:25 tgl Exp $
|
||||
Postgres documentation
|
||||
-->
|
||||
|
||||
@@ -103,9 +103,11 @@ Postgres documentation
|
||||
shutdown methods can be selected with the <option>-m</option>
|
||||
option: <quote>Smart</quote> mode waits for all the clients to
|
||||
disconnect. This is the default. <quote>Fast</quote> mode does
|
||||
not wait for clients to disconnect. All active transactions will
|
||||
be rolled back. <quote>Immediate</quote> mode will abort without
|
||||
complete shutdown. This will lead to a recovery run on restart.
|
||||
not wait for clients to disconnect. All active transactions are
|
||||
rolled back and clients are forcibly disconnected, then the
|
||||
database is shut down. <quote>Immediate</quote> mode will abort
|
||||
all server processes without clean shutdown. This will lead to a recovery
|
||||
run on restart.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
@@ -337,7 +339,7 @@ Command line was:
|
||||
|
||||
<para>
|
||||
Waiting for complete start is not a well-defined operation and may
|
||||
fail if access control is set up in way that a local client cannot
|
||||
fail if access control is set up so that a local client cannot
|
||||
connect without manual interaction. It should be avoided.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<!-- $Header: /cvsroot/pgsql/doc/src/sgml/ref/pg_restore.sgml,v 1.18 2001/10/23 22:11:22 tgl Exp $ -->
|
||||
<!-- $Header: /cvsroot/pgsql/doc/src/sgml/ref/pg_restore.sgml,v 1.19 2001/11/19 03:58:25 tgl Exp $ -->
|
||||
|
||||
<refentry id="APP-PGRESTORE">
|
||||
<docinfo>
|
||||
@@ -584,7 +584,7 @@ connectDBStart() -- connect() failed: No such file or directory
|
||||
To reorder database items, it is first necessary to dump the table of
|
||||
contents of the archive:
|
||||
<screen>
|
||||
<prompt>$</prompt> <userinput>pg_restore archive.file -l > archive.list</userinput>
|
||||
<prompt>$</prompt> <userinput>pg_restore -l archive.file > archive.list</userinput>
|
||||
</screen>
|
||||
The listing file consists of a header and one line for each item, e.g.,
|
||||
<programlisting>
|
||||
@@ -628,7 +628,7 @@ connectDBStart() -- connect() failed: No such file or directory
|
||||
could be used as input to <command>pg_restore</command> and would only restore
|
||||
items 10 and 6, in that order.
|
||||
<screen>
|
||||
<prompt>$</prompt> <userinput>pg_restore archive.file -L archive.list</userinput>
|
||||
<prompt>$</prompt> <userinput>pg_restore -L archive.list archive.file</userinput>
|
||||
</screen>
|
||||
</para>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user