1999-07-22 17:09:15 +02:00
|
|
|
<!--
|
2000-06-18 23:24:54 +02:00
|
|
|
$Header: /cvsroot/pgsql/doc/src/sgml/ref/show.sgml,v 1.10 2000/06/18 21:24:54 petere Exp $
|
1999-07-22 17:09:15 +02:00
|
|
|
Postgres documentation
|
|
|
|
-->
|
|
|
|
|
1999-06-14 09:37:05 +02:00
|
|
|
<refentry id="SQL-SHOW">
|
|
|
|
<refmeta>
|
2000-06-18 23:24:54 +02:00
|
|
|
<refentrytitle id="SQL-SHOW-TITLE">SHOW</refentrytitle>
|
1999-06-14 09:37:05 +02:00
|
|
|
<refmiscinfo>SQL - Language Statements</refmiscinfo>
|
|
|
|
</refmeta>
|
|
|
|
<refnamediv>
|
2000-06-18 23:24:54 +02:00
|
|
|
<refname>SHOW</refname>
|
|
|
|
<refpurpose>Shows run-time parameters</refpurpose>
|
1999-06-14 09:37:05 +02:00
|
|
|
</refnamediv>
|
|
|
|
<refsynopsisdiv>
|
|
|
|
<synopsis>
|
2000-06-18 23:24:54 +02:00
|
|
|
SHOW <replaceable class="PARAMETER">name</replaceable>
|
1999-06-14 09:37:05 +02:00
|
|
|
</synopsis>
|
1998-09-01 17:53:09 +02:00
|
|
|
|
1999-06-14 09:37:05 +02:00
|
|
|
<refsect2 id="R2-SQL-SHOW-1">
|
2000-06-18 23:24:54 +02:00
|
|
|
<title>Inputs</title>
|
1998-12-29 03:24:47 +01:00
|
|
|
|
1999-07-14 22:32:59 +02:00
|
|
|
<para>
|
1999-06-14 09:37:05 +02:00
|
|
|
<variablelist>
|
|
|
|
<varlistentry>
|
2000-06-18 23:24:54 +02:00
|
|
|
<term><replaceable class="PARAMETER">name</replaceable></term>
|
1999-06-14 09:37:05 +02:00
|
|
|
<listitem>
|
|
|
|
<para>
|
2000-06-18 23:24:54 +02:00
|
|
|
The name of a run-time parameter. See
|
2000-04-08 04:39:02 +02:00
|
|
|
<xref linkend="sql-set-title" endterm="sql-set-title">
|
2000-06-18 23:24:54 +02:00
|
|
|
for a list.
|
1999-06-14 09:37:05 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
</variablelist>
|
|
|
|
</para>
|
|
|
|
</refsect2>
|
1998-12-29 03:24:47 +01:00
|
|
|
|
2000-06-18 23:24:54 +02:00
|
|
|
</refsynopsisdiv>
|
|
|
|
|
|
|
|
<refsect1 id="R1-SQL-SHOW-1">
|
|
|
|
<title>Description</title>
|
|
|
|
<para>
|
|
|
|
<command>SHOW</command> will display the current setting of a
|
|
|
|
run-time parameter. These variables can be set using the
|
|
|
|
<command>SET</command> statement or are determined at server start.
|
|
|
|
</para>
|
|
|
|
</refsect1>
|
|
|
|
|
|
|
|
<refsect1>
|
|
|
|
<title>Diagnostics</title>
|
1998-12-29 03:24:47 +01:00
|
|
|
|
1999-07-14 22:32:59 +02:00
|
|
|
<para>
|
1999-06-14 09:37:05 +02:00
|
|
|
<variablelist>
|
|
|
|
<varlistentry>
|
2000-06-18 23:24:54 +02:00
|
|
|
<term><computeroutput>ERROR: not a valid option name: <replaceable>name</replaceable></computeroutput></term>
|
1999-06-14 09:37:05 +02:00
|
|
|
<listitem>
|
|
|
|
<para>
|
2000-06-18 23:24:54 +02:00
|
|
|
Message returned if <replaceable>variable</replaceable> does
|
|
|
|
not stand for an existing parameter.
|
1999-06-14 09:37:05 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
2000-06-18 23:24:54 +02:00
|
|
|
|
1999-06-14 09:37:05 +02:00
|
|
|
<varlistentry>
|
2000-06-18 23:24:54 +02:00
|
|
|
<term><computeroutput>ERROR: permission denied</computeroutput></term>
|
1999-06-14 09:37:05 +02:00
|
|
|
<listitem>
|
|
|
|
<para>
|
2000-06-18 23:24:54 +02:00
|
|
|
You must be a superuser to be allowed to see certain settings.
|
1999-06-14 09:37:05 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
1999-07-14 22:32:59 +02:00
|
|
|
|
1999-06-14 09:37:05 +02:00
|
|
|
<varlistentry>
|
2000-06-18 23:24:54 +02:00
|
|
|
<term><computeroutput>NOTICE: Time zone is unknown</computeroutput></term>
|
1999-06-14 09:37:05 +02:00
|
|
|
<listitem>
|
|
|
|
<para>
|
1999-07-14 22:32:59 +02:00
|
|
|
If the <envar>TZ</envar> or <envar>PGTZ</envar> environment
|
|
|
|
variable is not set.
|
1999-06-14 09:37:05 +02:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
</variablelist>
|
|
|
|
</para>
|
|
|
|
</refsect1>
|
|
|
|
|
|
|
|
<refsect1 id="R1-SQL-SHOW-2">
|
2000-06-18 23:24:54 +02:00
|
|
|
<title>Examples</title>
|
1999-06-14 09:37:05 +02:00
|
|
|
<para>
|
1999-07-14 22:32:59 +02:00
|
|
|
Show the current <literal>DateStyle</literal> setting:
|
|
|
|
|
2000-06-18 23:24:54 +02:00
|
|
|
<screen>
|
1999-06-14 09:37:05 +02:00
|
|
|
SHOW DateStyle;
|
2000-04-08 04:39:02 +02:00
|
|
|
NOTICE: DateStyle is ISO with US (NonEuropean) conventions
|
2000-06-18 23:24:54 +02:00
|
|
|
</screen>
|
1999-07-14 22:32:59 +02:00
|
|
|
</para>
|
1999-06-14 09:37:05 +02:00
|
|
|
|
1999-07-14 22:32:59 +02:00
|
|
|
<para>
|
|
|
|
Show the current genetic optimizer (<literal>geqo</literal>) setting:
|
2000-06-18 23:24:54 +02:00
|
|
|
<screen>
|
1999-06-14 09:37:05 +02:00
|
|
|
SHOW GEQO;
|
2000-06-18 23:24:54 +02:00
|
|
|
NOTICE: geqo = true
|
|
|
|
</screen>
|
1999-06-14 09:37:05 +02:00
|
|
|
</para>
|
|
|
|
</refsect1>
|
|
|
|
|
|
|
|
<refsect1 id="R1-SQL-SHOW-3">
|
2000-06-18 23:24:54 +02:00
|
|
|
<title>Compatibility</title>
|
1999-06-14 09:37:05 +02:00
|
|
|
|
2000-06-18 23:24:54 +02:00
|
|
|
<para>
|
|
|
|
The <command>SHOW</command> command is a
|
|
|
|
<productname>Postgres</productname> extension.
|
|
|
|
</para>
|
1999-06-14 09:37:05 +02:00
|
|
|
</refsect1>
|
|
|
|
</refentry>
|
|
|
|
|
|
|
|
<!-- Keep this comment at the end of the file
|
|
|
|
Local variables:
|
|
|
|
mode: sgml
|
|
|
|
sgml-omittag:nil
|
|
|
|
sgml-shorttag:t
|
|
|
|
sgml-minimize-attributes:nil
|
|
|
|
sgml-always-quote-attributes:t
|
|
|
|
sgml-indent-step:1
|
|
|
|
sgml-indent-data:t
|
|
|
|
sgml-parent-document:nil
|
|
|
|
sgml-default-dtd-file:"../reference.ced"
|
|
|
|
sgml-exposed-tags:nil
|
1999-07-14 22:32:59 +02:00
|
|
|
sgml-local-catalogs:"/usr/lib/sgml/catalog"
|
1999-06-14 09:37:05 +02:00
|
|
|
sgml-local-ecat-files:nil
|
|
|
|
End:
|
|
|
|
-->
|