summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorTom Lane2005-08-26 03:08:15 +0000
committerTom Lane2005-08-26 03:08:15 +0000
commitf26b91761bd25f9da2f97d818f60ae68588888c2 (patch)
tree54af9e5352ecbc5627914a58fd19744e41fb8e06 /src/include
parent09a6c909458b44c51d0c8a8b58ae2590c7815b9f (diff)
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.
Diffstat (limited to 'src/include')
-rw-r--r--src/include/catalog/heap.h3
1 files changed, 2 insertions, 1 deletions
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,