From e9e1ff226f285bc7b488e670be4b8220cdba4a53 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Thu, 20 Nov 1997 23:24:03 +0000 Subject: Remove all time travel stuff. Small parser cleanup. --- src/backend/optimizer/util/plancat.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/backend/optimizer/util/plancat.c') diff --git a/src/backend/optimizer/util/plancat.c b/src/backend/optimizer/util/plancat.c index 6b4d5ee13d..15271d33b9 100644 --- a/src/backend/optimizer/util/plancat.c +++ b/src/backend/optimizer/util/plancat.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/optimizer/util/plancat.c,v 1.10 1997/09/18 20:20:50 momjian Exp $ + * $Header: /cvsroot/pgsql/src/backend/optimizer/util/plancat.c,v 1.11 1997/11/20 23:22:01 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -148,7 +148,7 @@ index_info(Query *root, bool first, int relid, IdxInfoRetval *info) ObjectIdGetDatum(indrelid)); relation = heap_openr(IndexRelationName); - scan = heap_beginscan(relation, 0, NowTimeQual, + scan = heap_beginscan(relation, 0, false, 1, &indexKey); } if (!HeapScanIsValid(scan)) @@ -420,7 +420,7 @@ find_inheritance_children(Oid inhparent) key[0].sk_argument = ObjectIdGetDatum((Oid) inhparent); relation = heap_openr(InheritsRelationName); - scan = heap_beginscan(relation, 0, NowTimeQual, 1, key); + scan = heap_beginscan(relation, 0, false, 1, key); while (HeapTupleIsValid(inheritsTuple = heap_getnext(scan, 0, (Buffer *) NULL))) @@ -455,7 +455,7 @@ VersionGetParents(Oid verrelid) fmgr_info(F_OIDEQ, &key[0].sk_func, &key[0].sk_nargs); relation = heap_openr(VersionRelationName); key[0].sk_argument = ObjectIdGetDatum(verrelid); - scan = heap_beginscan(relation, 0, NowTimeQual, 1, key); + scan = heap_beginscan(relation, 0, false, 1, key); for (;;) { versionTuple = heap_getnext(scan, 0, -- cgit v1.2.1