From f26b91761bd25f9da2f97d818f60ae68588888c2 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Fri, 26 Aug 2005 03:08:15 +0000 Subject: 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/include/catalog/heap.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/include') diff --git a/src/include/catalog/heap.h b/src/include/catalog/heap.h index d38bbd1ae0d..02845920b95 100644 --- a/src/include/catalog/heap.h +++ b/src/include/catalog/heap.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/include/catalog/heap.h,v 1.74 2005/04/14 01:38:20 tgl Exp $ + * $PostgreSQL: pgsql/src/include/catalog/heap.h,v 1.75 2005/08/26 03:08:15 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -48,6 +48,7 @@ extern Oid heap_create_with_catalog(const char *relname, Oid relnamespace, Oid reltablespace, Oid relid, + Oid ownerid, TupleDesc tupdesc, char relkind, bool shared_relation, -- cgit v1.2.3