postgresql/src
Robert Haas 5da79169d3 Fix bugs in relpersistence handling during table creation.
Unlike the relistemp field which it replaced, relpersistence must be
set correctly quite early during the table creation process, as we
rely on it quite early on for a number of purposes, including security
checks.  Normally, this is set based on whether the user enters CREATE
TABLE, CREATE UNLOGGED TABLE, or CREATE TEMPORARY TABLE, but a
relation may also be made implicitly temporary by creating it in
pg_temp.  This patch fixes the handling of that case, and also
disables creation of unlogged tables in temporary tablespace (such
table indeed skip WAL-logging, but we reject an explicit
specification) and creation of relations in the temporary schemas of
other sessions (which is not very sensible, and didn't work right
anyway).

Report by Amit Khandekar.
2011-07-03 17:34:47 -04:00
..
backend Fix bugs in relpersistence handling during table creation. 2011-07-03 17:34:47 -04:00
bin Make distprep and *clean build targets recurse into all subdirectories. 2011-07-03 13:55:12 -04:00
include Fix bugs in relpersistence handling during table creation. 2011-07-03 17:34:47 -04:00
interfaces Add missing file to GETTEXT_FILES 2011-06-27 00:58:35 +03:00
makefiles Use single quotes in preference to double quotes for protecting pathnames. 2011-06-15 21:45:23 -04:00
pl Make distprep and *clean build targets recurse into all subdirectories. 2011-07-03 13:55:12 -04:00
port Unify spelling of "canceled", "canceling", "cancellation" 2011-06-29 09:28:46 +03:00
template
test Fix bugs in relpersistence handling during table creation. 2011-07-03 17:34:47 -04:00
timezone Pgindent run before 9.1 beta2. 2011-06-09 14:32:50 -04:00
tools Fix bat file quoting of %ENV. 2011-07-03 10:36:56 -04:00
tutorial
.gitignore
bcc32.mak
DEVELOPERS
Makefile
Makefile.global.in Make distprep and *clean build targets recurse into all subdirectories. 2011-07-03 13:55:12 -04:00
Makefile.shlib Use single quotes in preference to double quotes for protecting pathnames. 2011-06-15 21:45:23 -04:00
nls-global.mk Add the possibility to pass --flag arguments to xgettext calls 2011-06-27 00:37:21 +03:00
win32.mak