- Notifications
You must be signed in to change notification settings - Fork5
Commit6f25c62
committed
Allow SET TABLESPACE to database default
We've always allowed CREATE TABLE to create tables in the database's defaulttablespace without checking for CREATE permissions on that tablespace.Unfortunately, the original implementation of ALTER TABLE ... SET TABLESPACEdidn't pick up on that exception.This changes ALTER TABLE ... SET TABLESPACE to allow the database's defaulttablespace without checking for CREATE rights on that tablespace, just asCREATE TABLE works today. Users could always do this through a series ofcommands (CREATE TABLE ... AS SELECT * FROM ...; DROP TABLE ...; etc), solet's fix the oversight in SET TABLESPACE's original implementation.1 parent0d79c0a commit6f25c62
1 file changed
+10
-5
lines changedLines changed: 10 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
8710 | 8710 |
| |
8711 | 8711 |
| |
8712 | 8712 |
| |
8713 |
| - | |
8714 | 8713 |
| |
8715 | 8714 |
| |
8716 | 8715 |
| |
8717 | 8716 |
| |
8718 |
| - | |
8719 |
| - | |
8720 |
| - | |
8721 |
| - | |
| 8717 | + | |
| 8718 | + | |
| 8719 | + | |
| 8720 | + | |
| 8721 | + | |
| 8722 | + | |
| 8723 | + | |
| 8724 | + | |
| 8725 | + | |
8722 | 8726 |
| |
8723 | 8727 |
| |
8724 | 8728 |
| |
8725 | 8729 |
| |
8726 | 8730 |
| |
8727 | 8731 |
| |
| 8732 | + | |
8728 | 8733 |
| |
8729 | 8734 |
| |
8730 | 8735 |
| |
|
0 commit comments
Comments
(0)