From 8b23db944b9d7f051e2f986cc1f55ade82621218 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Wed, 13 Jun 2012 18:47:53 -0400 Subject: [PATCH] Fix description of SQL-standard meaning of CREATE LOCAL TEMP TABLE. I had this slightly wrong, as noted by Noah Misch. --- doc/src/sgml/ref/create_table.sgml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/doc/src/sgml/ref/create_table.sgml b/doc/src/sgml/ref/create_table.sgml index d329388bb9..1aea788584 100644 --- a/doc/src/sgml/ref/create_table.sgml +++ b/doc/src/sgml/ref/create_table.sgml @@ -1306,10 +1306,11 @@ CREATE TABLE employees OF employee_type ( The SQL standard also distinguishes between global and local temporary - tables, where a local temporary table is only visible within a specific - SQL module, though its definition is still shared across sessions. Since - PostgreSQL does not support SQL modules, this - distinction is not relevant in PostgreSQL. + tables, where a local temporary table has a separate set of contents for + each SQL module within each session, though its definition is still shared + across sessions. Since PostgreSQL does not + support SQL modules, this distinction is not relevant in + PostgreSQL.