Content-Length: 262795 | pFad | http://github.com/postgrespro/postgres/commit/5b3dca096f8e504b73812f68716fb68dd1176d6d

FD Clarify temporary table name shadowing in CREATE TABLE docs · postgrespro/postgres@5b3dca0 · GitHub
Skip to content

Commit 5b3dca0

Browse files
committed
Clarify temporary table name shadowing in CREATE TABLE docs
Author: David Johnston
1 parent 257836a commit 5b3dca0

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

doc/src/sgml/ref/create_table.sgml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,8 +171,9 @@ WITH ( MODULUS <replaceable class="parameter">numeric_literal</replaceable>, REM
171171
If specified, the table is created as a temporary table.
172172
Temporary tables are automatically dropped at the end of a
173173
session, or optionally at the end of the current transaction
174-
(see <literal>ON COMMIT</literal> below). Existing permanent
175-
tables with the same name are not visible to the current session
174+
(see <literal>ON COMMIT</literal> below). The default
175+
search_path includes the temporary schema first and so identically
176+
named existing permanent tables are not chosen for new plans
176177
while the temporary table exists, unless they are referenced
177178
with schema-qualified names. Any indexes created on a temporary
178179
table are automatically temporary as well.

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/5b3dca096f8e504b73812f68716fb68dd1176d6d

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy