diff options
| author | Tom Lane | 2001-08-10 18:57:42 +0000 |
|---|---|---|
| committer | Tom Lane | 2001-08-10 18:57:42 +0000 |
| commit | 55b74ebe34bd9b3af8dec8acb653427b45e78e61 (patch) | |
| tree | 1e427465db07576ad70eeb7410aeed65dfc3f53a /src/include/postgres.h | |
| parent | 747bd36cd086d71cde0b79a16e142318d3317d43 (diff) | |
Make OIDs optional, per discussions in pghackers. WITH OIDS is still the
default, but OIDS are removed from many system catalogs that don't need them.
Some interesting side effects: TOAST pointers are 20 bytes not 32 now;
pg_description has a three-column key instead of one.
Bugs fixed in passing: BINARY cursors work again; pg_class.relhaspkey
has some usefulness; pg_dump dumps comments on indexes, rules, and
triggers in a valid order.
initdb forced.
Diffstat (limited to 'src/include/postgres.h')
| -rw-r--r-- | src/include/postgres.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/include/postgres.h b/src/include/postgres.h index ef94f2b400..93858ce449 100644 --- a/src/include/postgres.h +++ b/src/include/postgres.h @@ -55,7 +55,7 @@ */ /* ---------------- - * struct varattrib is the header of a varlena object that may have been TOASTed. + * struct varattrib is the header of a varlena object that may have been TOASTed. * ---------------- */ #define TUPLE_TOASTER_ACTIVE @@ -78,9 +78,6 @@ typedef struct varattrib int32 va_extsize; /* External saved size */ Oid va_valueid; /* Unique identifier of value */ Oid va_toastrelid; /* RelID where to find chunks */ - Oid va_toastidxid; /* Main tables row Oid */ - Oid va_rowid; /* Referencing row Oid */ - int16 va_attno; /* Main tables attno */ } va_external;/* External stored attribute */ char va_data[1]; /* Plain stored attribute */ @@ -573,6 +570,8 @@ extern int assertTest(int val); #define BOOTSTRAP +#define BKI_WITHOUT_OIDS + /* these need to expand into some harmless, repeatable declaration */ #define DATA(x) extern int errno #define DESCR(x) extern int errno |
