From 7971539020a344dce3a8b3b9b93ff4f10e2f823a Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Wed, 19 Aug 1998 02:04:17 +0000 Subject: heap_fetch requires buffer pointer, must be released; heap_getnext no longer returns buffer pointer, can be gotten from scan; descriptor; bootstrap can create multi-key indexes; pg_procname index now is multi-key index; oidint2, oidint4, oidname are gone (must be removed from regression tests); use System Cache rather than sequential scan in many places; heap_modifytuple no longer takes buffer parameter; remove unused buffer parameter in a few other functions; oid8 is not index-able; remove some use of single-character variable names; cleanup Buffer variables usage and scan descriptor looping; cleaned up allocation and freeing of tuples; 18k lines of diff; --- src/include/postgres.h | 45 +-------------------------------------------- 1 file changed, 1 insertion(+), 44 deletions(-) (limited to 'src/include/postgres.h') diff --git a/src/include/postgres.h b/src/include/postgres.h index f6cbc47c55e..6b659347fa0 100644 --- a/src/include/postgres.h +++ b/src/include/postgres.h @@ -6,7 +6,7 @@ * * Copyright (c) 1995, Regents of the University of California * - * $Id: postgres.h,v 1.17 1998/07/03 04:24:10 momjian Exp $ + * $Id: postgres.h,v 1.18 1998/08/19 02:03:32 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -22,7 +22,6 @@ * int28 oid8 * bytea text * NameData Name - * oidint4 oidint2 oidname * * TABLE OF CONTENTS * 1) simple type definitions @@ -99,48 +98,6 @@ typedef struct nameData } NameData; typedef NameData *Name; -/* ---------------- - * oidint4 - * - * this is a new system type used by the file interface. - * ---------------- - */ -typedef struct OidInt4Data -{ - Oid oi_oid; - int32 oi_int4; -} OidInt4Data; - -typedef struct OidInt4Data *OidInt4; - -/* ---------------- - * oidint2 - * - * this is a new system type used to define indices on two attrs. - * ---------------- - */ -typedef struct OidInt2Data -{ - Oid oi_oid; - int16 oi_int2; -} OidInt2Data; - -typedef struct OidInt2Data *OidInt2; - -/* ---------------- - * oidname - * - * this is a new system type used to define indices on two attrs. - * ---------------- - */ -typedef struct OidNameData -{ - Oid id; - NameData name; -} OidNameData; - -typedef struct OidNameData *OidName; - /* ---------------------------------------------------------------- * Section 3: TransactionId and CommandId * ---------------------------------------------------------------- -- cgit v1.2.3