postgresql/src/backend/commands
Bruce Momjian b0f5086e41 oid is needed, it is added at the end of the struct (after the null
bitmap, if present).

Per Tom Lane's suggestion the information whether a tuple has an oid
or not is carried in the tuple descriptor.  For debugging reasons
tdhasoid is of type char, not bool.  There are predefined values for
WITHOID, WITHOUTOID and UNDEFOID.

This patch has been generated against a cvs snapshot from last week
and I don't expect it to apply cleanly to current sources.  While I
post it here for public review, I'm working on a new version against a
current snapshot.  (There's been heavy activity recently; hope to
catch up some day ...)

This is a long patch;  if it is too hard to swallow, I can provide it
in smaller pieces:

Part 1:  Accessor macros
Part 2:  tdhasoid in TupDesc
Part 3:  Regression test
Part 4:  Parameter withoid to heap_addheader
Part 5:  Eliminate t_oid from HeapTupleHeader

Part 2 is the most hairy part because of changes in the executor and
even in the parser;  the other parts are straightforward.

Up to part 4 the patched postmaster stays binary compatible to
databases created with an unpatched version.  Part 5 is small (100
lines) and finally breaks compatibility.

Manfred Koizar
2002-07-20 05:16:59 +00:00
..
_deadcode Update copyright to 2002. 2002-06-20 20:29:54 +00:00
aggregatecmds.c Second phase of committing Rod Taylor's pg_depend/pg_constraint patch. 2002-07-12 18:43:19 +00:00
analyze.c Update copyright to 2002. 2002-06-20 20:29:54 +00:00
async.c Update copyright to 2002. 2002-06-20 20:29:54 +00:00
cluster.c Second phase of committing Rod Taylor's pg_depend/pg_constraint patch. 2002-07-12 18:43:19 +00:00
comment.c oid is needed, it is added at the end of the struct (after the null 2002-07-20 05:16:59 +00:00
conversioncmds.c Add new CREATE CONVERSION/DROP CONVERSION command. 2002-07-11 07:39:28 +00:00
copy.c oid is needed, it is added at the end of the struct (after the null 2002-07-20 05:16:59 +00:00
dbcommands.c oid is needed, it is added at the end of the struct (after the null 2002-07-20 05:16:59 +00:00
define.c Update copyright to 2002. 2002-06-20 20:29:54 +00:00
explain.c oid is needed, it is added at the end of the struct (after the null 2002-07-20 05:16:59 +00:00
functioncmds.c oid is needed, it is added at the end of the struct (after the null 2002-07-20 05:16:59 +00:00
indexcmds.c oid is needed, it is added at the end of the struct (after the null 2002-07-20 05:16:59 +00:00
lockcmds.c Update copyright to 2002. 2002-06-20 20:29:54 +00:00
Makefile Add new CREATE CONVERSION/DROP CONVERSION command. 2002-07-11 07:39:28 +00:00
operatorcmds.c Second phase of committing Rod Taylor's pg_depend/pg_constraint patch. 2002-07-12 18:43:19 +00:00
portalcmds.c Remove global variable scanCommandId in favor of storing a command ID 2002-05-21 22:05:55 +00:00
proclang.c oid is needed, it is added at the end of the struct (after the null 2002-07-20 05:16:59 +00:00
schemacmds.c Implement DROP SCHEMA. It lacks support for dropping conversions and 2002-07-18 16:47:26 +00:00
sequence.c Add more dependency insertions --- this completes the basic pg_depend 2002-07-16 22:12:20 +00:00
tablecmds.c oid is needed, it is added at the end of the struct (after the null 2002-07-20 05:16:59 +00:00
trigger.c oid is needed, it is added at the end of the struct (after the null 2002-07-20 05:16:59 +00:00
typecmds.c oid is needed, it is added at the end of the struct (after the null 2002-07-20 05:16:59 +00:00
user.c Update copyright to 2002. 2002-06-20 20:29:54 +00:00
vacuum.c oid is needed, it is added at the end of the struct (after the null 2002-07-20 05:16:59 +00:00
vacuumlazy.c oid is needed, it is added at the end of the struct (after the null 2002-07-20 05:16:59 +00:00
variable.c I have committed many support files for CREATE CONVERSION. Default 2002-07-18 02:02:30 +00:00
view.c Add more dependency insertions --- this completes the basic pg_depend 2002-07-16 22:12:20 +00:00