Re: Number of attributes in HeapTupleHeader

From: Manfred Koizar <mkoi-pg(at)aon(dot)at>
To: Neil Conway <nconway(at)klamath(dot)dyndns(dot)org>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Number of attributes in HeapTupleHeader
Date: 2002-05-05 22:54:02
Message-ID: 2ucbdugamqrdeeq7p23ueliv4m94t0ml1g@4ax.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Sun, 5 May 2002 18:07:27 -0400, Neil Conway
<nconway(at)klamath(dot)dyndns(dot)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
* happens because 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.

Servus
Manfred

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Hiroshi Inoue 2002-05-05 23:15:09 Re: Using views and MS access via odbc
Previous Message Neil Conway 2002-05-05 22:07:27 Re: Number of attributes in HeapTupleHeader