diff options
| author | Bruce Momjian <bruce@momjian.us> | 2000-07-02 22:01:27 +0000 |
|---|---|---|
| committer | Bruce Momjian <bruce@momjian.us> | 2000-07-02 22:01:27 +0000 |
| commit | 80c646958a14ed343a686566cb77bd92961cf589 (patch) | |
| tree | 1735aa969f6da1c788fac0d733de42b0efb77b03 /src/backend/catalog | |
| parent | 6fb9d2e347b14445b85d6c97f7d16527d41ccce6 (diff) | |
| download | postgresql-80c646958a14ed343a686566cb77bd92961cf589.tar.gz | |
Attached is a new patch which addresses this problem. (oids in
regression tests).
Chris Bitmead
Diffstat (limited to 'src/backend/catalog')
| -rw-r--r-- | src/backend/catalog/heap.c | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/src/backend/catalog/heap.c b/src/backend/catalog/heap.c index dceab60c8e..721297680e 100644 --- a/src/backend/catalog/heap.c +++ b/src/backend/catalog/heap.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/catalog/heap.c,v 1.135 2000/07/02 04:46:09 tgl Exp $ + * $Header: /cvsroot/pgsql/src/backend/catalog/heap.c,v 1.136 2000/07/02 22:00:34 momjian Exp $ * * * INTERFACE ROUTINES @@ -131,12 +131,22 @@ static FormData_pg_attribute a6 = { MaxCommandIdAttributeNumber, 0, -1, -1, '\001', 'p', '\0', 'i', '\0', '\0' }; -static Form_pg_attribute HeapAtt[] = {&a1, &a2, &a3, &a4, &a5, &a6}; +/* + We decide to call this attribute "tableoid" rather than say +"classoid" on the basis that in the future there may be more than one +table of a particular class/type. In any case table is still the word +used in SQL. +*/ +static FormData_pg_attribute a7 = { + 0xffffffff, {"tableoid"}, OIDOID, 0, sizeof(Oid), + TableOidAttributeNumber, 0, -1, -1, '\001', 'p', '\0', 'i', '\0', '\0' +}; + +static Form_pg_attribute HeapAtt[] = {&a1, &a2, &a3, &a4, &a5, &a6, &a7}; /* ---------------------------------------------------------------- * XXX END OF UGLY HARD CODED BADNESS XXX - * ---------------------------------------------------------------- - */ + * ---------------------------------------------------------------- */ /* ---------------------------------------------------------------- |
