diff options
| author | Tom Lane <tgl@sss.pgh.pa.us> | 2005-03-21 01:24:04 +0000 |
|---|---|---|
| committer | Tom Lane <tgl@sss.pgh.pa.us> | 2005-03-21 01:24:04 +0000 |
| commit | ee4ddac137b7c66e3bec6f74e3503236476cb16e (patch) | |
| tree | 3f8d12f472288b6758fc74802230374ef0e4b764 /src/include/access/genam.h | |
| parent | fe7015f5e821d70428995f04726215fc79294f10 (diff) | |
| download | postgresql-ee4ddac137b7c66e3bec6f74e3503236476cb16e.tar.gz | |
Convert index-related tuple handling routines from char 'n'/' ' to bool
convention for isnull flags. Also, remove the useless InsertIndexResult
return struct from index AM aminsert calls --- there is no reason for
the caller to know where in the index the tuple was inserted, and we
were wasting a palloc cycle per insert to deliver this uninteresting
value (plus nontrivial complexity in some AMs).
I forced initdb because of the change in the signature of the aminsert
routines, even though nothing really looks at those pg_proc entries...
Diffstat (limited to 'src/include/access/genam.h')
| -rw-r--r-- | src/include/access/genam.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/include/access/genam.h b/src/include/access/genam.h index 573ad6d1a8..84daf30878 100644 --- a/src/include/access/genam.h +++ b/src/include/access/genam.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/access/genam.h,v 1.47 2004/12/31 22:03:21 pgsql Exp $ + * $PostgreSQL: pgsql/src/include/access/genam.h,v 1.48 2005/03/21 01:24:04 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -72,8 +72,8 @@ extern Relation index_open(Oid relationId); extern Relation index_openrv(const RangeVar *relation); extern Relation index_openr(const char *sysRelationName); extern void index_close(Relation relation); -extern InsertIndexResult index_insert(Relation indexRelation, - Datum *datums, char *nulls, +extern bool index_insert(Relation indexRelation, + Datum *values, bool *isnull, ItemPointer heap_t_ctid, Relation heapRelation, bool check_uniqueness); |
