]> granicus.if.org Git - postgresql/commit
Arrange for indexes and toast tables to inherit their ownership from
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 26 Aug 2005 03:08:15 +0000 (03:08 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 26 Aug 2005 03:08:15 +0000 (03:08 +0000)
commitf26b91761bd25f9da2f97d818f60ae68588888c2
tree54af9e5352ecbc5627914a58fd19744e41fb8e06
parent09a6c909458b44c51d0c8a8b58ae2590c7815b9f
Arrange for indexes and toast tables to inherit their ownership from
the parent table, even if the command that creates them is executed by
someone else (such as a superuser or a member of the owning role).
Per gripe from Michael Fuhr.
src/backend/bootstrap/bootparse.y
src/backend/catalog/heap.c
src/backend/catalog/index.c
src/backend/commands/cluster.c
src/backend/commands/tablecmds.c
src/backend/executor/execMain.c
src/backend/utils/cache/relcache.c
src/include/catalog/heap.h