aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2008-10-18 07:49:46 +0000
committerPeter Eisentraut <peter_e@gmx.net>2008-10-18 07:49:46 +0000
commit00cbf22e8b24242c53a73b150e750083d6a06319 (patch)
treea58b83a1d6ab953af9f320f054051c4ad8541c86
parentc6d05f81e0020a3e08ed415db38430226e3952e9 (diff)
downloadpostgresql-00cbf22e8b24242c53a73b150e750083d6a06319.tar.gz
postgresql-00cbf22e8b24242c53a73b150e750083d6a06319.zip
Update compatibility section of TRUNCATE for SQL:2008 final.
-rw-r--r--doc/src/sgml/ref/truncate.sgml13
1 files changed, 8 insertions, 5 deletions
diff --git a/doc/src/sgml/ref/truncate.sgml b/doc/src/sgml/ref/truncate.sgml
index f4ef810ce31..096b741a1a5 100644
--- a/doc/src/sgml/ref/truncate.sgml
+++ b/doc/src/sgml/ref/truncate.sgml
@@ -1,5 +1,5 @@
<!--
-$PostgreSQL: pgsql/doc/src/sgml/ref/truncate.sgml,v 1.28 2008/09/08 00:47:40 tgl Exp $
+$PostgreSQL: pgsql/doc/src/sgml/ref/truncate.sgml,v 1.29 2008/10/18 07:49:46 petere Exp $
PostgreSQL documentation
-->
@@ -211,10 +211,13 @@ TRUNCATE othertable CASCADE;
<title>Compatibility</title>
<para>
- The draft SQL:2008 standard includes a <command>TRUNCATE</command> command,
- but at this writing it is uncertain whether that will reach standardization
- or be fully compatible with <productname>PostgreSQL</productname>'s
- implementation.
+ The SQL:2008 standard includes a <command>TRUNCATE</command> command with the syntax
+ <literal>TRUNCATE TABLE <replaceable>tablename</replaceable></literal>.
+ The clauses <literal>CONTINUE IDENTITY</literal>/<literal>RESTART IDENTITY</literal>
+ also appear in that standard but have slightly different but related meanings.
+ Some of the concurrency behavior of this command is left implementation-defined
+ by the standard, so the above notes should be considered and compared with
+ other implementations if necessary.
</para>
</refsect1>
</refentry>