Clean up loose ends remaining from schema privileges discussion.
Tom Lane <tgl@sss.pgh.pa.us>
Clean up loose ends remaining from schema privileges discussion. I concluded that RENAME should require CREATE privilege on the namespace as well as ownership of the table.
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/ref/grant.sgml | modified | +3 −1 |
| src/backend/catalog/namespace.c | modified | +7 −2 |
| src/backend/tcop/utility.c | modified | +47 −21 |
| src/backend/utils/cache/lsyscache.c | modified | +27 −1 |
| src/include/utils/lsyscache.h | modified | +2 −1 |