postgresql/src
Tom Lane d4aa491493 Make CREATE EXTENSION check schema creation permissions.
When creating a new schema for a non-relocatable extension, we neglected
to check whether the calling user has permission to create schemas.
That didn't matter in the original coding, since we had already checked
superuserness, but in the new dispensation where users need not be
superusers, we should check it.  Use CreateSchemaCommand() rather than
calling NamespaceCreate() directly, so that we also enforce the rules
about reserved schema names.

Per complaint from KaiGai Kohei, though this isn't the same as his patch.
2011-08-23 21:49:07 -04:00
..
backend Make CREATE EXTENSION check schema creation permissions. 2011-08-23 21:49:07 -04:00
bin Use consistent format for reporting GetLastError() 2011-08-23 22:00:52 +03:00
include Add missing include so include file compiles cleanly on its own. 2011-08-22 23:19:21 -04:00
interfaces Translation updates 2011-08-17 14:07:46 +03:00
makefiles Add some environment checks prior to sepgsql regression testing. 2011-07-25 10:51:02 -04:00
pl Change PyInit_plpy to external linkage 2011-08-18 12:59:43 +03:00
port Use consistent format for reporting GetLastError() 2011-08-23 22:00:52 +03:00
template Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
test Use consistent format for reporting GetLastError() 2011-08-23 22:00:52 +03:00
timezone Use consistent format for reporting GetLastError() 2011-08-23 22:00:52 +03:00
tools Mark cpluspluscheck as excutable in git. 2011-08-22 22:14:58 -04:00
tutorial Stamp copyrights for year 2011. 2011-01-01 13:18:15 -05:00
.gitignore Convert cvsignore to gitignore, and add .gitignore for build targets. 2010-09-22 12:57:04 +02:00
bcc32.mak Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
DEVELOPERS Replace a couple of references to files that no longer exist in the source 2009-05-04 08:08:47 +00:00
Makefile Fix some oversights in distprep and maintainer-clean targets. 2011-03-10 00:04:05 -05:00
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 Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00