aboutsummaryrefslogtreecommitdiff
path: root/src/backend/regex/regexec.c
diff options
context:
space:
mode:
authorStephen Frost <sfrost@snowman.net>2014-01-18 18:41:52 -0500
committerStephen Frost <sfrost@snowman.net>2014-01-18 18:50:47 -0500
commit0fb4e3cebb32628bdd92d8445ff61d23eb73af48 (patch)
treeeaf4f3d85bc53dc768e1b5f8d73bffa255d8b460 /src/backend/regex/regexec.c
parent15699d9bf8562b47f6ac48018d028d557d33ca1b (diff)
downloadpostgresql-0fb4e3cebb32628bdd92d8445ff61d23eb73af48.tar.gz
postgresql-0fb4e3cebb32628bdd92d8445ff61d23eb73af48.zip
Allow SET TABLESPACE to database default
We've always allowed CREATE TABLE to create tables in the database's default tablespace without checking for CREATE permissions on that tablespace. Unfortunately, the original implementation of ALTER TABLE ... SET TABLESPACE didn't pick up on that exception. This changes ALTER TABLE ... SET TABLESPACE to allow the database's default tablespace without checking for CREATE rights on that tablespace, just as CREATE TABLE works today. Users could always do this through a series of commands (CREATE TABLE ... AS SELECT * FROM ...; DROP TABLE ...; etc), so let's fix the oversight in SET TABLESPACE's original implementation.
Diffstat (limited to 'src/backend/regex/regexec.c')
0 files changed, 0 insertions, 0 deletions