mirror of
https://github.com/postgres/postgres.git
synced 2025-12-21 05:21:08 +03:00
docs: remove unnecessary references to old PG versions
This commit is contained in:
@@ -331,17 +331,6 @@ SELECT CAST ( 2 AS numeric ) + 4.0;
|
||||
mostly because of requirements of the SQL standard.)
|
||||
</para>
|
||||
|
||||
<para>
|
||||
Prior to <productname>PostgreSQL</> 7.3, every function that had
|
||||
the same name as a data type, returned that data type, and took one
|
||||
argument of a different type was automatically a cast function.
|
||||
This convention has been abandoned in face of the introduction of
|
||||
schemas and to be able to represent binary-coercible casts in the
|
||||
system catalogs. The built-in cast functions still follow this naming
|
||||
scheme, but they have to be shown as casts in the system catalog
|
||||
<structname>pg_cast</> as well.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
While not required, it is recommended that you continue to follow this old
|
||||
convention of naming cast implementation functions after the target data
|
||||
|
||||
@@ -236,19 +236,11 @@ CREATE [ [ GLOBAL | LOCAL ] { TEMPORARY | TEMP } | UNLOGGED ] TABLE <replaceable
|
||||
</para>
|
||||
|
||||
<para>
|
||||
Prior to <productname>PostgreSQL</productname> 8.0, <command>CREATE
|
||||
TABLE AS</command> always included OIDs in the table it
|
||||
created. As of <productname>PostgreSQL</productname> 8.0,
|
||||
the <command>CREATE TABLE AS</command> command allows the user to
|
||||
The <command>CREATE TABLE AS</command> command allows the user to
|
||||
explicitly specify whether OIDs should be included. If the
|
||||
presence of OIDs is not explicitly specified,
|
||||
the <xref linkend="guc-default-with-oids"> configuration variable is
|
||||
used. As of <productname>PostgreSQL</productname> 8.1,
|
||||
this variable is false by default, so the default behavior is not
|
||||
identical to pre-8.0 releases. Applications that
|
||||
require OIDs in the table created by <command>CREATE TABLE
|
||||
AS</command> should explicitly specify <literal>WITH (OIDS)</literal>
|
||||
to ensure desired behavior.
|
||||
used.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
@@ -296,15 +296,6 @@
|
||||
<refsect1>
|
||||
<title>Notes</title>
|
||||
|
||||
<para>
|
||||
The option <option>--includedir-server</option> was added in
|
||||
<productname>PostgreSQL</> 7.2. In prior releases, the server include files were
|
||||
installed in the same location as the client headers, which could
|
||||
be queried with the option <option>--includedir</option>. To make your
|
||||
package handle both cases, try the newer option first and test the
|
||||
exit status to see whether it succeeded.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
The options <option>--docdir</option>, <option>--pkgincludedir</option>,
|
||||
<option>--localedir</option>, <option>--mandir</option>,
|
||||
@@ -316,12 +307,6 @@
|
||||
The option <option>--htmldir</option> was added in <productname>PostgreSQL</> 8.4.
|
||||
The option <option>--ldflags_ex</option> was added in <productname>PostgreSQL</> 9.0.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
In releases prior to <productname>PostgreSQL</> 7.1, before
|
||||
<command>pg_config</command> came to be, a method for finding the
|
||||
equivalent configuration information did not exist.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
||||
|
||||
@@ -218,19 +218,6 @@ REINDEX { INDEX | TABLE | DATABASE | SYSTEM } <replaceable class="PARAMETER">nam
|
||||
reindex anything.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
Prior to <productname>PostgreSQL</productname> 8.1, <command>REINDEX
|
||||
DATABASE</> processed only system indexes, not all indexes as one would
|
||||
expect from the name. This has been changed to reduce the surprise
|
||||
factor. The old behavior is available as <command>REINDEX SYSTEM</>.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
Prior to <productname>PostgreSQL</productname> 7.4, <command>REINDEX
|
||||
TABLE</> did not automatically process TOAST tables, and so those had
|
||||
to be reindexed by separate commands. This is still possible, but
|
||||
redundant.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1>
|
||||
|
||||
@@ -106,12 +106,9 @@ SELECT [ ALL | DISTINCT [ ON ( <replaceable class="parameter">expression</replac
|
||||
</para>
|
||||
|
||||
<para>
|
||||
Prior to <productname>PostgreSQL</> 8.1, the table created by
|
||||
<command>SELECT INTO</command> included OIDs by default. In
|
||||
<productname>PostgreSQL</productname> 8.1, this is not the case
|
||||
— to include OIDs in the new table, the <xref
|
||||
linkend="guc-default-with-oids"> configuration variable must be
|
||||
enabled. Alternatively, <command>CREATE TABLE AS</command> can be
|
||||
To add OIDs to the table created by <command>SELECT INTO</command>,
|
||||
enable the <xref linkend="guc-default-with-oids"> configuration
|
||||
variable. Alternatively, <command>CREATE TABLE AS</command> can be
|
||||
used with the <literal>WITH OIDS</literal> clause.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
Reference in New Issue
Block a user