From fc955b14ea667e04475e2b7339c8445611470771 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Mon, 22 Nov 1999 17:56:41 +0000 Subject: Add system indexes to match all caches. Make all system indexes unique. Make all cache loads use system indexes. Rename *rel to *relid in inheritance tables. Rename cache names to be clearer. --- src/backend/commands/copy.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/backend/commands/copy.c') diff --git a/src/backend/commands/copy.c b/src/backend/commands/copy.c index cac94cebad2..9a33a08779d 100644 --- a/src/backend/commands/copy.c +++ b/src/backend/commands/copy.c @@ -6,7 +6,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/commands/copy.c,v 1.90 1999/11/21 04:16:17 tgl Exp $ + * $Header: /cvsroot/pgsql/src/backend/commands/copy.c,v 1.91 1999/11/22 17:56:00 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -938,7 +938,7 @@ GetOutputFunction(Oid type) { HeapTuple typeTuple; - typeTuple = SearchSysCacheTuple(TYPOID, + typeTuple = SearchSysCacheTuple(TYPEOID, ObjectIdGetDatum(type), 0, 0, 0); @@ -954,7 +954,7 @@ GetTypeElement(Oid type) { HeapTuple typeTuple; - typeTuple = SearchSysCacheTuple(TYPOID, + typeTuple = SearchSysCacheTuple(TYPEOID, ObjectIdGetDatum(type), 0, 0, 0); @@ -970,7 +970,7 @@ GetInputFunction(Oid type) { HeapTuple typeTuple; - typeTuple = SearchSysCacheTuple(TYPOID, + typeTuple = SearchSysCacheTuple(TYPEOID, ObjectIdGetDatum(type), 0, 0, 0); @@ -986,7 +986,7 @@ IsTypeByVal(Oid type) { HeapTuple typeTuple; - typeTuple = SearchSysCacheTuple(TYPOID, + typeTuple = SearchSysCacheTuple(TYPEOID, ObjectIdGetDatum(type), 0, 0, 0); -- cgit v1.2.3