summaryrefslogtreecommitdiff
path: root/src/include/access
diff options
context:
space:
mode:
authorAlvaro Herrera <alvherre@alvh.no-ip.org>2008-11-14 01:57:42 +0000
committerAlvaro Herrera <alvherre@alvh.no-ip.org>2008-11-14 01:57:42 +0000
commit03e5248d0f09f46b2fcaff266e7b2f0f997d6cfd (patch)
treea4f5464a2e9751bdc2ca6214abbd619581d65235 /src/include/access
parentc889ebce0aa5f848d680547e3af0aad8b9e577a7 (diff)
Replace the usage of heap_addheader to create pg_attribute tuples with regular
heap_form_tuple. Since this removes the last remaining caller of heap_addheader, remove it. Extracted from the column privileges patch from Stephen Frost, with further code cleanups by me.
Diffstat (limited to 'src/include/access')
-rw-r--r--src/include/access/htup.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/include/access/htup.h b/src/include/access/htup.h
index 6bcd9cdcbc2..3e075236d37 100644
--- a/src/include/access/htup.h
+++ b/src/include/access/htup.h
@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2008, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $PostgreSQL: pgsql/src/include/access/htup.h,v 1.103 2008/11/02 01:45:28 tgl Exp $
+ * $PostgreSQL: pgsql/src/include/access/htup.h,v 1.104 2008/11/14 01:57:42 alvherre Exp $
*
*-------------------------------------------------------------------------
*/
@@ -847,7 +847,5 @@ extern void heap_free_minimal_tuple(MinimalTuple mtup);
extern MinimalTuple heap_copy_minimal_tuple(MinimalTuple mtup);
extern HeapTuple heap_tuple_from_minimal_tuple(MinimalTuple mtup);
extern MinimalTuple minimal_tuple_from_heap_tuple(HeapTuple htup);
-extern HeapTuple heap_addheader(int natts, bool withoid,
- Size structlen, void *structure);
#endif /* HTUP_H */