mirror of
https://github.com/postgres/postgres.git
synced 2025-12-19 17:02:53 +03:00
Use PostgreSQL consistantly throughout docs. Before, usage was split evenly
between Postgres and PostgreSQL.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<!--
|
||||
$Header: /cvsroot/pgsql/doc/src/sgml/ref/psql-ref.sgml,v 1.60 2001/09/13 15:55:24 petere Exp $
|
||||
Postgres documentation
|
||||
$Header: /cvsroot/pgsql/doc/src/sgml/ref/psql-ref.sgml,v 1.61 2001/12/08 03:24:38 thomas Exp $
|
||||
PostgreSQL documentation
|
||||
-->
|
||||
|
||||
<refentry id="APP-PSQL">
|
||||
@@ -37,8 +37,8 @@ Postgres documentation
|
||||
|
||||
<para>
|
||||
<application>psql</application> is a terminal-based front-end to
|
||||
<productname>Postgres</productname>. It enables you to type in queries
|
||||
interactively, issue them to <productname>Postgres</productname>, and see
|
||||
<productname>PostgreSQL</productname>. It enables you to type in queries
|
||||
interactively, issue them to <productname>PostgreSQL</productname>, and see
|
||||
the query results. Alternatively, input can be from a file.
|
||||
In addition, it provides a number of meta-commands and
|
||||
various shell-like features to facilitate writing scripts and automating a wide
|
||||
@@ -64,7 +64,7 @@ Postgres documentation
|
||||
<title>Connecting To A Database</title>
|
||||
|
||||
<para>
|
||||
<application>psql</application> is a regular <productname>Postgres</productname>
|
||||
<application>psql</application> is a regular <productname>PostgreSQL</productname>
|
||||
client application. In order to connect to a database you need to know the
|
||||
name of your target database, the hostname and port number of the server
|
||||
and what user name you want to connect as. <application>psql</application> can be
|
||||
@@ -334,7 +334,7 @@ testdb=>
|
||||
<term><literal>\copyright</literal></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Shows the copyright and distribution terms of <application>Postgres</application>.
|
||||
Shows the copyright and distribution terms of <application>PostgreSQL</application>.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
@@ -406,7 +406,7 @@ testdb=>
|
||||
|
||||
<note>
|
||||
<para>
|
||||
<productname>Postgres</productname> stores the object descriptions in the
|
||||
<productname>PostgreSQL</productname> stores the object descriptions in the
|
||||
pg_description system table.
|
||||
</para>
|
||||
</note>
|
||||
@@ -662,7 +662,7 @@ pipe (<literal>|</literal>). See also <command>\pset</command> for a generic way
|
||||
<para>
|
||||
List all the databases in the server as well as their owners. Append a
|
||||
<quote>+</quote> to the command name to see any descriptions
|
||||
for the databases as well. If your <productname>Postgres</productname>
|
||||
for the databases as well. If your <productname>PostgreSQL</productname>
|
||||
installation was
|
||||
compiled with multibyte encoding support, the encoding scheme of each
|
||||
database is shown as well.
|
||||
@@ -702,7 +702,7 @@ pipe (<literal>|</literal>). See also <command>\pset</command> for a generic way
|
||||
|
||||
<listitem>
|
||||
<para>
|
||||
Stores the file into a <productname>Postgres</productname> <quote>large object</quote>.
|
||||
Stores the file into a <productname>PostgreSQL</productname> <quote>large object</quote>.
|
||||
Optionally, it associates the given comment with the object. Example:
|
||||
<programlisting>
|
||||
foo=> <userinput>\lo_import '/home/peter/pictures/photo.xcf' 'a picture of me'</userinput>
|
||||
@@ -734,7 +734,7 @@ lo_import 152801
|
||||
<term><literal>\lo_list</literal></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Shows a list of all <productname>Postgres</productname> <quote>large
|
||||
Shows a list of all <productname>PostgreSQL</productname> <quote>large
|
||||
objects</quote> currently stored in the database, along with any
|
||||
comments provided for them.
|
||||
</para>
|
||||
@@ -1718,7 +1718,7 @@ bar
|
||||
<listitem>
|
||||
<para>
|
||||
When this variable is set and a backslash command queries the database, the query
|
||||
is first shown. This way you can study the <productname>Postgres</productname>
|
||||
is first shown. This way you can study the <productname>PostgreSQL</productname>
|
||||
internals and provide similar functionality in your own programs. If you set the
|
||||
variable to the value <quote>noexec</quote>, the queries are just shown but are
|
||||
not actually sent to the backend and executed.
|
||||
@@ -1814,7 +1814,7 @@ bar
|
||||
<term><envar>LO_TRANSACTION</envar></term>
|
||||
<listitem>
|
||||
<para>
|
||||
If you use the <productname>Postgres</productname> large object
|
||||
If you use the <productname>PostgreSQL</productname> large object
|
||||
interface to specially store data that does not fit into one tuple,
|
||||
all the operations must be contained in a transaction block. (See the
|
||||
documentation of the large object interface for more information.) Since
|
||||
@@ -1983,7 +1983,7 @@ testdb=> <userinput>\set content '\'' `sed -e "s/'/\\\\\\'/g" < my_file.txt` '\'
|
||||
case you can escape a colon with a backslash to protect it from interpretation.
|
||||
(The colon syntax for variables is standard <acronym>SQL</acronym> for embedded
|
||||
query languages, such as <application>ecpg</application>. The colon syntax for
|
||||
array slices and type casts are <productname>Postgres</productname> extensions,
|
||||
array slices and type casts are <productname>PostgreSQL</productname> extensions,
|
||||
hence the conflict.)
|
||||
</para>
|
||||
|
||||
@@ -2168,7 +2168,7 @@ $endif
|
||||
|
||||
<para>
|
||||
If you have the readline library installed but <application>psql</application>
|
||||
does not seem to use it, you must make sure that <productname>Postgres</productname>'s
|
||||
does not seem to use it, you must make sure that <productname>PostgreSQL</productname>'s
|
||||
top-level <filename>configure</filename> script finds it. <filename>configure</filename>
|
||||
needs to find both the library <filename>libreadline.a</filename>
|
||||
(or a shared library equivalent)
|
||||
@@ -2202,7 +2202,7 @@ $ ./configure --with-includes=/opt/gnu/include --with-libs=/opt/gnu/lib ...
|
||||
<para>
|
||||
This section only shows a few examples specific to <application>psql</application>.
|
||||
If you want to learn <acronym>SQL</acronym> or get familiar with
|
||||
<productname>Postgres</productname>, you might wish to read the Tutorial that
|
||||
<productname>PostgreSQL</productname>, you might wish to read the Tutorial that
|
||||
is included in the distribution.
|
||||
</para>
|
||||
</note>
|
||||
|
||||
Reference in New Issue
Block a user