mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-01-06 15:24:56 +08:00
More doc cleanups
This commit is contained in:
parent
c62e961da1
commit
c281847fcd
@ -1,5 +1,5 @@
|
||||
<!--
|
||||
$Header: /cvsroot/pgsql/doc/src/sgml/ref/create_operator.sgml,v 1.13 2000/03/27 17:14:42 thomas Exp $
|
||||
$Header: /cvsroot/pgsql/doc/src/sgml/ref/create_operator.sgml,v 1.14 2000/07/21 17:58:49 momjian Exp $
|
||||
Postgres documentation
|
||||
-->
|
||||
|
||||
@ -393,7 +393,7 @@ MYBOXES.description === box '((0,0),(1,1))'
|
||||
Usage
|
||||
</title>
|
||||
<para>The following command defines a new operator,
|
||||
area-equality, for the BOX data type.
|
||||
area-equality, for the BOX data type:
|
||||
</para>
|
||||
<programlisting>
|
||||
CREATE OPERATOR === (
|
||||
|
@ -1,5 +1,5 @@
|
||||
<!--
|
||||
$Header: /cvsroot/pgsql/doc/src/sgml/ref/postgres-ref.sgml,v 1.11 2000/07/21 03:14:33 momjian Exp $
|
||||
$Header: /cvsroot/pgsql/doc/src/sgml/ref/postgres-ref.sgml,v 1.12 2000/07/21 17:58:49 momjian Exp $
|
||||
Postgres documentation
|
||||
-->
|
||||
|
||||
@ -126,7 +126,7 @@ postgres [ -B <replaceable class="parameter">nBuffers</replaceable> ] [ -C ] [ -
|
||||
<para>
|
||||
Override restrictions, so system table structures can be modified.
|
||||
These tables are typically those with a leading
|
||||
"<literal>pg_</literal>" in the table name.
|
||||
<literal>pg_</literal> in the table name.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
@ -136,9 +136,9 @@ postgres [ -B <replaceable class="parameter">nBuffers</replaceable> ] [ -C ] [ -
|
||||
<listitem>
|
||||
<para>
|
||||
Ignore system indexes to scan/update system
|
||||
tuples. <command>REINDEX</command> for system tables/indexes
|
||||
tuples. The <command>REINDEX</command> for system tables/indexes
|
||||
requires this option. System tables are
|
||||
typically those with a leading "<literal>pg_</literal>" in the
|
||||
typically those with a leading <literal>pg_</literal> in the
|
||||
table name.
|
||||
</para>
|
||||
</listitem>
|
||||
|
@ -1,5 +1,5 @@
|
||||
<!--
|
||||
$Header: /cvsroot/pgsql/doc/src/sgml/ref/psql-ref.sgml,v 1.33 2000/05/12 00:54:52 momjian Exp $
|
||||
$Header: /cvsroot/pgsql/doc/src/sgml/ref/psql-ref.sgml,v 1.34 2000/07/21 17:58:49 momjian Exp $
|
||||
Postgres documentation
|
||||
-->
|
||||
|
||||
@ -491,8 +491,8 @@ testdb=>
|
||||
<para>
|
||||
The new query buffer is then re-parsed according to the normal rules of
|
||||
<application>psql</application>, where the whole buffer is treated as
|
||||
a single line. (Thus you cannot make <quote>scripts</quote> this way,
|
||||
use <command>\i</command> for that.) This means also that
|
||||
a single line. (Thus you cannot make scripts this way.
|
||||
Use <command>\i</command> for that.) This means also that
|
||||
if the query ends with (or rather contains) a semicolon, it is immediately
|
||||
executed. In other cases it will merely wait in the query buffer.
|
||||
</para>
|
||||
@ -551,8 +551,8 @@ Tue Oct 26 21:40:57 CEST 1999
|
||||
|
||||
<listitem>
|
||||
<para>
|
||||
Sets the field separator for unaligned query output. The default is <quote><literal>|</literal></quote>
|
||||
(a <quote>pipe</quote> symbol). See also <command>\pset</command> for a generic way
|
||||
Sets the field separator for unaligned query output. The default is
|
||||
pipe (<literal>|</literal>). See also <command>\pset</command> for a generic way
|
||||
of setting output options.
|
||||
</para>
|
||||
</listitem>
|
||||
@ -1533,7 +1533,7 @@ Access permissions for database "test"
|
||||
<para>
|
||||
As of version 7.0, <application>psql</application> automatically issues a
|
||||
password prompt whenever the backend requests password authentication.
|
||||
Because this is currently based on a <quote>hack</quote>, the automatic
|
||||
Because this is currently based on a hack, the automatic
|
||||
recognition might mysteriously fail, hence this option to force a prompt.
|
||||
If no password prompt is issued and the backend requires password authentication
|
||||
the connection attempt will fail.
|
||||
@ -2148,7 +2148,7 @@ $ ./configure --with-includes=/opt/gnu/include --with-libs=/opt/gnu/lib ...
|
||||
|
||||
<para>
|
||||
The first example shows how to spread a query over several lines of input.
|
||||
Notice the changing prompt.
|
||||
Notice the changing prompt:
|
||||
<programlisting>
|
||||
testdb=> <userinput>CREATE TABLE my_table (</userinput>
|
||||
testdb(> <userinput> first integer not null default 0,</userinput>
|
||||
@ -2186,7 +2186,7 @@ peter@localhost testdb=> SELECT * FROM my_table;
|
||||
</programlisting>
|
||||
Notice how the int4 colums in right aligned while the text column in left aligned.
|
||||
You can make this table look differently by using the <command>\pset</command>
|
||||
command.
|
||||
command:
|
||||
<programlisting>
|
||||
peter@localhost testdb=> <userinput>\pset border 2</userinput>
|
||||
Border style is 2.
|
||||
|
Loading…
Reference in New Issue
Block a user