I had this slightly wrong, as noted by Noah Misch.
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