Fix misstatement in docs: CREATE TABLE AS is now part of the standard.
This commit is contained in:
parent
7ac258c2f3
commit
5a2c8cf4b1
@ -1,5 +1,5 @@
|
|||||||
<!--
|
<!--
|
||||||
$PostgreSQL: pgsql/doc/src/sgml/ref/select_into.sgml,v 1.30 2004/08/24 00:06:51 neilc Exp $
|
$PostgreSQL: pgsql/doc/src/sgml/ref/select_into.sgml,v 1.31 2004/09/26 23:48:07 neilc Exp $
|
||||||
PostgreSQL documentation
|
PostgreSQL documentation
|
||||||
-->
|
-->
|
||||||
|
|
||||||
@ -119,10 +119,9 @@ SELECT [ ALL | DISTINCT [ ON ( <replaceable class="PARAMETER">expression</replac
|
|||||||
in <application>ECPG</application> (see <xref linkend="ecpg">) and
|
in <application>ECPG</application> (see <xref linkend="ecpg">) and
|
||||||
<application>PL/pgSQL</application> (see <xref linkend="plpgsql">).
|
<application>PL/pgSQL</application> (see <xref linkend="plpgsql">).
|
||||||
The <productname>PostgreSQL</productname> usage of <command>SELECT
|
The <productname>PostgreSQL</productname> usage of <command>SELECT
|
||||||
INTO</command> to represent table creation is historical. It's
|
INTO</command> to represent table creation is historical. It is
|
||||||
best to use <command>CREATE TABLE AS</command> for this purpose in
|
best to use <command>CREATE TABLE AS</command> for this purpose in
|
||||||
new code. (<command>CREATE TABLE AS</command> isn't standard
|
new code.
|
||||||
either, but it's less likely to cause confusion.)
|
|
||||||
</para>
|
</para>
|
||||||
</refsect1>
|
</refsect1>
|
||||||
</refentry>
|
</refentry>
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<!-- $PostgreSQL: pgsql/doc/src/sgml/ref/set_transaction.sgml,v 1.22 2004/09/20 00:04:19 neilc Exp $ -->
|
<!-- $PostgreSQL: pgsql/doc/src/sgml/ref/set_transaction.sgml,v 1.23 2004/09/26 23:48:07 neilc Exp $ -->
|
||||||
<refentry id="SQL-SET-TRANSACTION">
|
<refentry id="SQL-SET-TRANSACTION">
|
||||||
<refmeta>
|
<refmeta>
|
||||||
<refentrytitle id="SQL-SET-TRANSACTION-TITLE">SET TRANSACTION</refentrytitle>
|
<refentrytitle id="SQL-SET-TRANSACTION-TITLE">SET TRANSACTION</refentrytitle>
|
||||||
@ -118,10 +118,10 @@ where <replaceable class="parameter">transaction_mode</replaceable> is one of:
|
|||||||
</para>
|
</para>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
It is possible to dispense with <command>SET TRANSACTION</command> by
|
It is possible to dispense with <command>SET TRANSACTION</command>
|
||||||
instead specifying the desired <replaceable
|
by instead specifying the desired <replaceable
|
||||||
class="parameter">transaction_modes</replaceable> in
|
class="parameter">transaction_modes</replaceable> in
|
||||||
<command>START TRANSACTION</command>.
|
<command>BEGIN</command> or <command>START TRANSACTION</command>.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user