1
1
<!--
2
- $Header: /cvsroot/pgsql/doc/src/sgml/ref/psql-ref.sgml,v 1.18 1999/11/26 04:24:16 momjian Exp $
2
+ $Header: /cvsroot/pgsql/doc/src/sgml/ref/psql-ref.sgml,v 1.19 2000/01/12 19:36:34 petere Exp $
3
3
Postgres documentation
4
4
-->
5
5
@@ -352,7 +352,7 @@ testdb=>
352
352
</para>
353
353
354
354
<para>
355
- The command form <literal>\d? </literal> is identical, but any comments
355
+ The command form <literal>\d+ </literal> is identical, but any comments
356
356
associated with the table columns are shown as well.
357
357
</para>
358
358
@@ -375,10 +375,6 @@ testdb=>
375
375
Lists all available aggregate functions, together with the data type they operate on.
376
376
If <replaceable class="parameter">pattern</replaceable>
377
377
(a regular expression) is specified, only matching aggregates are shown.
378
- If the alternative command form <literal>\da?</literal> is used,
379
- comments are listed for each function as well. The command form
380
- <literal>\da+</literal> will show more information about each aggregate
381
- function, which is usually not of general interest.
382
378
</para>
383
379
</listitem>
384
380
</varlistentry>
@@ -426,8 +422,7 @@ testdb=>
426
422
If <replaceable class="parameter">pattern</replaceable>
427
423
(a regular expression) is specified, only matching functions are shown.
428
424
If the form <literal>\df+</literal> is used, additional information about
429
- each function is shown. Comments for each function can be shown with
430
- the <literal>\df?</literal> form.
425
+ each function, including language and description is shown.
431
426
</para>
432
427
</listitem>
433
428
</varlistentry>
@@ -447,7 +442,7 @@ testdb=>
447
442
<para>
448
443
If <replaceable class="parameter">pattern</replaceable> is specified,
449
444
it is a regular expression restricts the listing to those objects
450
- whose name matches. If one appends a <quote>? </quote> to the command name,
445
+ whose name matches. If one appends a <quote>+ </quote> to the command name,
451
446
each object is listed with its associated description, if any.
452
447
</para>
453
448
</listitem>
@@ -476,10 +471,6 @@ testdb=>
476
471
interpretation of the backslash as a new command, you might also
477
472
wish to quote the argument.)
478
473
</para>
479
- <para>
480
- If the form <literal>\do?</literal> is used, comments are listed for
481
- each operator.
482
- </para>
483
474
</listitem>
484
475
</varlistentry>
485
476
@@ -500,8 +491,7 @@ testdb=>
500
491
<listitem>
501
492
<para>
502
493
Lists all data types or only those that match <replaceable class="parameter">pattern</replaceable>.
503
- The command forms <literal>\dT+</literal> and <literal>\dT?</literal> show extra information
504
- and the associated descriptions of the types, respectively.
494
+ The command form <literal>\dT+</literal> shows extra information.
505
495
</para>
506
496
</listitem>
507
497
</varlistentry>
@@ -648,7 +638,7 @@ Tue Oct 26 21:40:57 CEST 1999
648
638
<listitem>
649
639
<para>
650
640
List all the databases in the server as well as their owners. Append a
651
- <quote>? </quote> (question mark) to the command name to see any descriptions
641
+ <quote>+ </quote> to the command name to see any descriptions
652
642
for the databases as well. If your <productname>PostgreSQL</productname>
653
643
installation was
654
644
compiled with multibyte encoding support, the encoding scheme of each
@@ -723,8 +713,6 @@ lo_import 152801
723
713
<para>
724
714
Shows a list of all <productname>PostgreSQL</productname> <quote>large
725
715
objects</quote> currently stored in the database along with their owners.
726
- Append a question mark to the command name (<literal>\lo_list?</literal>) to
727
- see the the associated comments as well.
728
716
</para>
729
717
</listitem>
730
718
</varlistentry>
@@ -1203,11 +1191,9 @@ Access permissions for database "test"
1203
1191
1204
1192
<para>
1205
1193
If so configured, <application>psql</application> understands both standard
1206
- Unix short options, and <acronym>GNU</acronym>-style long options. Since the
1207
- latter are not available on all systems, you are advised to consider carefully
1208
- whether to use them, if you are writing scripts, etc. For support on the
1209
- <productname>PostgreSQL</productname> mailing lists, you are asked to only
1210
- use the standard short options.
1194
+ Unix short options, and <acronym>GNU</acronym>-style long options. The latter
1195
+ are not available on all systems, so you are advised to consider carefully
1196
+ whether to use them.
1211
1197
</para>
1212
1198
1213
1199
<para>
@@ -1301,7 +1287,7 @@ Access permissions for database "test"
1301
1287
1302
1288
1303
1289
<varlistentry>
1304
- <term>-F, --field-sep <replaceable class="parameter">separator</replaceable></term>
1290
+ <term>-F, --field-separator <replaceable class="parameter">separator</replaceable></term>
1305
1291
<listitem>
1306
1292
<para>
1307
1293
Use <replaceable class="parameter">separator</replaceable> as the field separator.
@@ -1358,7 +1344,7 @@ Access permissions for database "test"
1358
1344
1359
1345
1360
1346
<varlistentry>
1361
- <term>-o, --out <replaceable class="parameter">filename</replaceable></term>
1347
+ <term>-o, --output <replaceable class="parameter">filename</replaceable></term>
1362
1348
<listitem>
1363
1349
<para>
1364
1350
Put all query output into file <replaceable class="parameter">filename</replaceable>.
@@ -1400,8 +1386,7 @@ Access permissions for database "test"
1400
1386
<listitem>
1401
1387
<para>
1402
1388
Specifies that <application>psql</application> should do its work quietly.
1403
- By default, it prints welcome messages, various informational output and
1404
- prompts for each query.
1389
+ By default, it prints welcome messages and various informational output.
1405
1390
If this option is used, none of this happens. This is useful with the
1406
1391
<option>-c</option> option. Within <application>psql</application> you can
1407
1392
also set the <envar>quiet</envar> variable to achieve the same effect.
@@ -1511,35 +1496,7 @@ Access permissions for database "test"
1511
1496
<term>-V, --version</term>
1512
1497
<listitem>
1513
1498
<para>
1514
- Shows version information about <application>psql</application> and your
1515
- <productname>PostgreSQL</productname> database server, if it could be reached.
1516
- </para>
1517
-
1518
- <para>
1519
- The output looks similar to this:
1520
- <programlisting>
1521
- ~$ <userinput>psql -V</userinput>
1522
- Server: PostgreSQL 6.5.2 on i586-pc-linux-gnu, compiled by egcs
1523
- psql 6.6.0 on i586-pc-linux-gnu, compiled by gcc 2.8.1 (Oct 27 1999 15:15:04), long options,
1524
- readline, history, locale, assert checks
1525
- </programlisting>
1526
- The <quote>Server</quote> line is identical to the one returned by the
1527
- backend function <function>version()</function> and thus might vary
1528
- if you query different servers by using different connection
1529
- options.
1530
- </para>
1531
-
1532
- <para>
1533
- The <quote>psql</quote> line is compiled into the <application>psql</application>
1534
- binary. It shows you which <productname>PostgreSQL</productname> release
1535
- it was distributed with and what optional features were compiled into it.
1536
- Although in general (as in the example above) you can use <application>psql</application>
1537
- and database servers from different versions (if they don't differ too much)
1538
- this is not recommended or
1539
- even necessary. The optional features indicate only <application>psql</application>'s
1540
- capabilities but if <application>psql</application> was configured with
1541
- the same source tree as the rest of the distribution, it gives you an
1542
- indication about other parts of the installation as well.
1499
+ Shows the <application>psql</application> version.
1543
1500
</para>
1544
1501
</listitem>
1545
1502
</varlistentry>
@@ -2149,26 +2106,6 @@ Field separator is "oo".
2149
2106
2150
2107
</refsect2>
2151
2108
2152
- <refsect2>
2153
- <title>History and Lineage</title>
2154
-
2155
- <para>
2156
- <application>psql</application> first appeared in <productname>Postgres95</productname>
2157
- to complement and later replace the <application>monitor</application> program. (You see this
2158
- name here or there in really old files. The author has never had the pleasure to use this
2159
- program though.) An uncountable number of people have added features since to reflect
2160
- the enhancements in the actual database server.
2161
- </para>
2162
-
2163
- <para>
2164
- The present version is the result of a major clean-up and re-write in 1999 by
2165
- <ulink URL="mailto:peter_e@gmx.net">Peter Eisentraut</ulink> in preparation for release 7.0.
2166
- Many people had again contributed their ideas. A bunch of features were stolen
2167
- from various shells (in case you hadn't noticed), in particular
2168
- <application>tcsh</application>.
2169
- </para>
2170
- </refsect2>
2171
-
2172
2109
<refsect2>
2173
2110
<title><acronym>GNU</acronym> readline</title>
2174
2111
0 commit comments