From bf3dbb5881e9b886ee9fe84bca2153c698eea885 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Sun, 27 Mar 2005 23:53:05 +0000 Subject: First steps towards index scans with heap access decoupled from index access: define new index access method functions 'amgetmulti' that can fetch multiple TIDs per call. (The functions exist but are totally untested as yet.) Since I was modifying pg_am anyway, remove the no-longer-needed 'rel' parameter from amcostestimate functions, and also remove the vestigial amowner column that was creating useless work for Alvaro's shared-object-dependencies project. Initdb forced due to changes in pg_am. --- src/backend/access/index/genam.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/backend/access/index/genam.c') diff --git a/src/backend/access/index/genam.c b/src/backend/access/index/genam.c index 8572f492594..ceded59a2b4 100644 --- a/src/backend/access/index/genam.c +++ b/src/backend/access/index/genam.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/access/index/genam.c,v 1.44 2004/12/31 21:59:19 pgsql Exp $ + * $PostgreSQL: pgsql/src/backend/access/index/genam.c,v 1.45 2005/03/27 23:52:59 tgl Exp $ * * NOTES * many of the old access method routines have been turned into @@ -103,6 +103,7 @@ RelationGetIndexScan(Relation indexRelation, /* mark cached function lookup data invalid; it will be set later */ scan->fn_getnext.fn_oid = InvalidOid; + scan->fn_getmulti.fn_oid = InvalidOid; scan->unique_tuple_pos = 0; scan->unique_tuple_mark = 0; -- cgit v1.2.3