Re: Temporary tables under hot standby
Noah Misch <noah@leadboat.com>
From: Noah Misch <noah@leadboat.com>
To: pgsql-hackers@postgresql.org
Date: 2012-04-29T20:02:58Z
Lists: pgsql-hackers
Attachments
- temp-table-syntax-warning-v1.patch (text/plain) patch v1
On Tue, Apr 24, 2012 at 11:55:15PM -0400, Noah Misch wrote: > Concerning everyone's favorite topic, how to name the new type of table, I > liked Tom's proposal[1] to make CREATE TEMP TABLE retain current behavior and > have CREATE GLOBAL TEMP TABLE and/or CREATE LOCAL TEMP TABLE request the new > SQL-standard variety. (I'd vote for using CREATE GLOBAL and retaining CREATE > LOCAL for future expansion.) As he mentions, to get there, we'd ideally start > by producing a warning instead of silently accepting GLOBAL as a noise word. > Should we put such a warning into 9.2? Here is the change I'd make. Thanks, nm > [1] http://archives.postgresql.org/message-id/5422.1240936705@sss.pgh.pa.us