mirror of
https://github.com/postgres/postgres.git
synced 2025-06-26 12:21:12 +03:00
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;
This commit is contained in:
@ -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
|
||||
* ----------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user