mirror of
https://github.com/postgres/postgres.git
synced 2025-12-21 05:21:08 +03:00
Here is a doc patch for the SHOW X changes and new config-settings
functions. If there are no objections, please apply. Joe Conway
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<!--
|
||||
$Header: /cvsroot/pgsql/doc/src/sgml/ref/set.sgml,v 1.62 2002/06/11 15:41:30 thomas Exp $
|
||||
$Header: /cvsroot/pgsql/doc/src/sgml/ref/set.sgml,v 1.63 2002/08/04 03:53:11 momjian Exp $
|
||||
PostgreSQL documentation
|
||||
-->
|
||||
|
||||
@@ -495,6 +495,16 @@ SELECT CURRENT_TIMESTAMP AS today;
|
||||
</para>
|
||||
</refsect2>
|
||||
</refsect1>
|
||||
|
||||
<refsect1>
|
||||
<title>See Also</title>
|
||||
|
||||
<para>
|
||||
The function <function>set_config</function> provides the equivalent
|
||||
capability. See <citetitle>Miscellaneous Functions</citetitle> in the
|
||||
<citetitle>PostgreSQL User's Guide</citetitle>.
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<!--
|
||||
$Header: /cvsroot/pgsql/doc/src/sgml/ref/show.sgml,v 1.17 2002/05/17 01:19:16 tgl Exp $
|
||||
$Header: /cvsroot/pgsql/doc/src/sgml/ref/show.sgml,v 1.18 2002/08/04 03:53:11 momjian Exp $
|
||||
PostgreSQL documentation
|
||||
-->
|
||||
|
||||
@@ -83,7 +83,10 @@ SHOW ALL
|
||||
|
||||
<screen>
|
||||
SHOW DateStyle;
|
||||
INFO: DateStyle is ISO with US (NonEuropean) conventions
|
||||
DateStyle
|
||||
---------------------------------------
|
||||
ISO with US (NonEuropean) conventions
|
||||
(1 row)
|
||||
</screen>
|
||||
</para>
|
||||
|
||||
@@ -91,9 +94,32 @@ INFO: DateStyle is ISO with US (NonEuropean) conventions
|
||||
Show the current genetic optimizer (<literal>geqo</literal>) setting:
|
||||
<screen>
|
||||
SHOW GEQO;
|
||||
INFO: geqo is on
|
||||
geqo
|
||||
------
|
||||
on
|
||||
(1 row)
|
||||
</screen>
|
||||
</para>
|
||||
|
||||
<para>
|
||||
Show all settings:
|
||||
<screen>
|
||||
SHOW ALL;
|
||||
name | setting
|
||||
-------------------------------+---------------------------------------
|
||||
australian_timezones | off
|
||||
authentication_timeout | 60
|
||||
checkpoint_segments | 3
|
||||
.
|
||||
.
|
||||
.
|
||||
wal_debug | 0
|
||||
wal_files | 0
|
||||
wal_sync_method | fdatasync
|
||||
(94 rows)
|
||||
</screen>
|
||||
</para>
|
||||
|
||||
</refsect1>
|
||||
|
||||
<refsect1 id="R1-SQL-SHOW-3">
|
||||
@@ -104,6 +130,16 @@ INFO: geqo is on
|
||||
<productname>PostgreSQL</productname> extension.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1>
|
||||
<title>See Also</title>
|
||||
|
||||
<para>
|
||||
The function <function>current_setting</function> produces equivalent
|
||||
output. See <citetitle>Miscellaneous Functions</citetitle> in the
|
||||
<citetitle>PostgreSQL User's Guide</citetitle>.
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
|
||||
Reference in New Issue
Block a user