Thread: pgsql-server: Cause ALTER OWNER commands to update the object's ACL,
pgsql-server: Cause ALTER OWNER commands to update the object's ACL,
From
tgl@svr1.postgresql.org (Tom Lane)
Date:
Log Message: ----------- 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. Modified Files: -------------- pgsql-server/src/backend/commands: dbcommands.c (r1.138 -> r1.139) (http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/backend/commands/dbcommands.c.diff?r1=1.138&r2=1.139) functioncmds.c (r1.49 -> r1.50) (http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/backend/commands/functioncmds.c.diff?r1=1.49&r2=1.50) schemacmds.c (r1.20 -> r1.21) (http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/backend/commands/schemacmds.c.diff?r1=1.20&r2=1.21) tablecmds.c (r1.122 -> r1.123) (http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/backend/commands/tablecmds.c.diff?r1=1.122&r2=1.123) tablespace.c (r1.6 -> r1.7) (http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/backend/commands/tablespace.c.diff?r1=1.6&r2=1.7) pgsql-server/src/backend/utils/adt: acl.c (r1.107 -> r1.108) (http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/backend/utils/adt/acl.c.diff?r1=1.107&r2=1.108) pgsql-server/src/include/utils: acl.h (r1.71 -> r1.72) (http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/include/utils/acl.h.diff?r1=1.71&r2=1.72)