We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parent257836a commit5b3dca0Copy full SHA for 5b3dca0
doc/src/sgml/ref/create_table.sgml
@@ -171,8 +171,9 @@ WITH ( MODULUS <replaceable class="parameter">numeric_literal</replaceable>, REM
171
If specified, the table is created as a temporary table.
172
Temporary tables are automatically dropped at the end of a
173
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
+ (see <literal>ON COMMIT</literal> below). The default
+ search_path includes the temporary schema first and so identically
176
+ named existing permanent tables are not chosen for new plans
177
while the temporary table exists, unless they are referenced
178
with schema-qualified names. Any indexes created on a temporary
179
table are automatically temporary as well.