Fix description of SQL-standard meaning of CREATE LOCAL TEMP TABLE.
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 13 Jun 2012 22:47:53 +0000 (18:47 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 13 Jun 2012 22:47:53 +0000 (18:47 -0400)
I had this slightly wrong, as noted by Noah Misch.

doc/src/sgml/ref/create_table.sgml

index d329388bb9a48589d3d98f3cbe84a565fa89b475..1aea7885844cb4671beb4ccd65363dbe4d580ef7 100644 (file)
@@ -1306,10 +1306,11 @@ CREATE TABLE employees OF employee_type (
 
    <para>
     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
-    <productname>PostgreSQL</productname> does not support SQL modules, this
-    distinction is not relevant in <productname>PostgreSQL</productname>.
+    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 <productname>PostgreSQL</productname> does not
+    support SQL modules, this distinction is not relevant in
+    <productname>PostgreSQL</productname>.
    </para>
 
    <para>