Re: Number of attributes in HeapTupleHeader - Mailing list pgsql-hackers

From Manfred Koizar
Subject Re: Number of attributes in HeapTupleHeader
Date
Msg-id 2ucbdugamqrdeeq7p23ueliv4m94t0ml1g@4ax.com
Whole thread Raw
In response to Re: Number of attributes in HeapTupleHeader  (Neil Conway <nconway@klamath.dyndns.org>)
List pgsql-hackers
On Sun, 5 May 2002 18:07:27 -0400, Neil Conway
<nconway@klamath.dyndns.org> wrote:
>See AlterTableAddColumn() in commands/tablecmds.c
Thanks.  Sounds obvious.  Should have looked before asking...
This doesn't look too promising:* Implementation restrictions: because we don't touch the table rows,
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^* the new column values will initially appear to be NULLs.  (This*
happensbecause the heap tuple access routines always check for* attnum > # of attributes in tuple, and return NULL if
so.) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 

Scratching my head and pondering on ...
I'll be back :-)

>I'd definately be interested -- let me know if you'd like any help...
Well, currently I'm in the process of making myself familiar with the
code.  That mainly takes hours of reading and searching.  Anyway,
thanks;  I'll post here, if I have questions.

ServusManfred


pgsql-hackers by date:

Previous
From: Neil Conway
Date:
Subject: Re: Number of attributes in HeapTupleHeader
Next
From: "Hiroshi Inoue"
Date:
Subject: Re: [GENERAL] Using views and MS access via odbc