mirror of
https://github.com/postgres/postgres.git
synced 2025-06-30 21:42:05 +03:00
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...
This commit is contained in:
@ -16,7 +16,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $PostgreSQL: pgsql/src/backend/access/common/heaptuple.c,v 1.98 2005/03/16 21:38:04 tgl Exp $
|
||||
* $PostgreSQL: pgsql/src/backend/access/common/heaptuple.c,v 1.99 2005/03/21 01:23:55 tgl Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -68,7 +68,7 @@ heap_compute_data_size(TupleDesc tupleDesc,
|
||||
* OLD API with char 'n'/' ' convention for indicating nulls
|
||||
* ----------------
|
||||
*/
|
||||
Size
|
||||
static Size
|
||||
ComputeDataSize(TupleDesc tupleDesc,
|
||||
Datum *values,
|
||||
char *nulls)
|
||||
@ -193,7 +193,7 @@ heap_fill_tuple(TupleDesc tupleDesc,
|
||||
* OLD API with char 'n'/' ' convention for indicating nulls
|
||||
* ----------------
|
||||
*/
|
||||
void
|
||||
static void
|
||||
DataFill(char *data,
|
||||
TupleDesc tupleDesc,
|
||||
Datum *values,
|
||||
|
Reference in New Issue
Block a user