Cause ALTER OWNER commands to update the object's ACL, replacing references
Tom Lane <tgl@sss.pgh.pa.us>
Cause ALTER OWNER commands to update the object's ACL, replacing references to the old owner with the new owner. This is not necessarily right, but it's sure a lot more likely to be what the user wants than doing nothing. Christopher Kings-Lynne, some rework by Tom Lane.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/commands/dbcommands.c | modified | +36 −7 |
| src/backend/commands/functioncmds.c | modified | +36 −7 |
| src/backend/commands/schemacmds.c | modified | +37 −8 |
| src/backend/commands/tablecmds.c | modified | +35 −9 |
| src/backend/commands/tablespace.c | modified | +36 −6 |
| src/backend/utils/adt/acl.c | modified | +110 −7 |
| src/include/utils/acl.h | modified | +3 −1 |