Skip to content

Commit e1785d8

Browse files
committed
doc: clarify CREATE TABLE AS ... IF NOT EXISTS
Mention that the table is not modified if it already exists. Reported-by: frank_limpert@yahoo.com Discussion: https://postgr.es/m/164441177106.9677.5991676148704507229@wrigleys.postgresql.org Backpatch-through: 10
1 parent 483c426 commit e1785d8

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

doc/src/sgml/ref/create_table_as.sgml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,9 +95,8 @@ CREATE [ [ GLOBAL | LOCAL ] { TEMPORARY | TEMP } | UNLOGGED ] TABLE [ IF NOT EXI
9595
<term><literal>IF NOT EXISTS</literal></term>
9696
<listitem>
9797
<para>
98-
Do not throw an error if a relation with the same name already exists.
99-
A notice is issued in this case. Refer to <xref linkend="sql-createtable"/>
100-
for details.
98+
Do not throw an error if a relation with the same name already
99+
exists; simply issue a notice and leave the table unmodified.
101100
</para>
102101
</listitem>
103102
</varlistentry>

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy