projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
483c426
)
doc: clarify CREATE TABLE AS ... IF NOT EXISTS
author
Bruce Momjian
Fri, 12 Aug 2022 14:59:00 +0000
(10:59 -0400)
committer
Bruce Momjian
Fri, 12 Aug 2022 14:59:00 +0000
(10:59 -0400)
Mention that the table is not modified if it already exists.
Reported-by:
[email protected]
Discussion: https://postgr.es/m/
164441177106
.9677.
5991676148704507229
@wrigleys.postgresql.org
Backpatch-through: 10
doc/src/sgml/ref/create_table_as.sgml
patch
|
blob
|
blame
|
history
diff --git
a/doc/src/sgml/ref/create_table_as.sgml
b/doc/src/sgml/ref/create_table_as.sgml
index a4640929cfba6c2d59ff11507109cfebae9646fe..5e7dc3a6124f2ebc1226ef22a8c82881abe1e81d 100644
(file)
--- a/
doc/src/sgml/ref/create_table_as.sgml
+++ b/
doc/src/sgml/ref/create_table_as.sgml
@@
-95,9
+95,8
@@
CREATE [ [ GLOBAL | LOCAL ] { TEMPORARY | TEMP } | UNLOGGED ] TABLE [ IF NOT EXI
IF NOT EXISTS
- Do not throw an error if a relation with the same name already exists.
- A notice is issued in this case. Refer to
- for details.
+ Do not throw an error if a relation with the same name already
+ exists; simply issue a notice and leave the table unmodified.