aboutsummaryrefslogtreecommitdiff
path: root/src/tutorial/basics.source
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:49:41 -0500
commit1fe06595ab9124e47a6d7935e1796e7c31c03c1f (patch)
tree378c296da723fa0b0e9c66e30c799e6b07e9d2da /src/tutorial/basics.source
parent526e38751a984ad2790246b5264a26c227ef0af8 (diff)
downloadpostgresql-1fe06595ab9124e47a6d7935e1796e7c31c03c1f.tar.gz
postgresql-1fe06595ab9124e47a6d7935e1796e7c31c03c1f.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/tutorial/basics.source')
0 files changed, 0 insertions, 0 deletions