mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +03:00
Second pass over run-time configuration system. Adjust priorities on some
option settings. Sort out SIGHUP vs BACKEND -- there is no total ordering here, so make explicit checks. Add comments explaining all of this. Removed permissions check on SHOW command. Add examine_subclass to the game, rename to SQL_inheritance to fit the official data model better. Adjust documentation. Standalone backend needs to reset all options before it starts. To facilitate that, have IsUnderPostmaster be set by the postmaster itself, don't wait for the magic -p switch. Also make sure that all environment variables and argv's survive init_ps_display(). Use strdup where necessary. Have initdb make configuration files (postgresql.conf, pg_hba.conf) mode 0600 -- having configuration files is no fun if you can't edit them.
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
<!--
|
||||
$Header: /cvsroot/pgsql/doc/src/sgml/advanced.sgml,v 1.14 2000/06/14 13:12:52 thomas Exp $
|
||||
$Header: /cvsroot/pgsql/doc/src/sgml/advanced.sgml,v 1.15 2000/06/22 22:31:15 petere Exp $
|
||||
-->
|
||||
|
||||
<chapter id="advanced">
|
||||
@ -116,22 +116,25 @@ SELECT name, altitude
|
||||
support this <quote>ONLY</quote> notation.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
Deprecated: In previous versions of postgres, the default was not to
|
||||
get access to child classes. By experience this was found to be error
|
||||
prone. Under the old syntax, to get the sub-classes you append "*"
|
||||
to the table name. For example
|
||||
|
||||
<programlisting>
|
||||
<note>
|
||||
<title>Deprecated</title>
|
||||
<para>
|
||||
In previous versions of <productname>Postgres</productname>, the
|
||||
default was not to get access to child tables. This was found to
|
||||
be error prone and is also in violation of SQL. Under the old
|
||||
syntax, to get the sub-classes you append "*" to the table name.
|
||||
For example
|
||||
<programlisting>
|
||||
SELECT * from cities*;
|
||||
</programlisting>
|
||||
|
||||
This old behaviour is still available by using a SET command:
|
||||
|
||||
<programlisting>
|
||||
SET EXAMINE_SUBCLASS TO on;
|
||||
</programlisting>
|
||||
</para>
|
||||
</programlisting>
|
||||
To get the old behavior, the set configuration option
|
||||
<literal>SQL_Inheritance</literal> to off, e.g.,
|
||||
<programlisting>
|
||||
SET SQL_Inheritance TO OFF;
|
||||
</programlisting>
|
||||
or add a line in your <filename>postgresql.conf</filename> file.
|
||||
</para>
|
||||
</note>
|
||||
</sect1>
|
||||
|
||||
<sect1>
|
||||
|
Reference in New Issue
Block a user