Re: BETWEEN Node & DROP COLUMN

Поиск
Список
Период
Сортировка
От Christopher Kings-Lynne
Тема Re: BETWEEN Node & DROP COLUMN
Дата
Msg-id GNELIHDDFBOCMGBFGEFOOEPJCCAA.chriskl@familyhealth.com.au
обсуждение исходный текст
Ответ на Re: BETWEEN Node & DROP COLUMN  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: BETWEEN Node & DROP COLUMN  ("Christopher Kings-Lynne" <chriskl@familyhealth.com.au>)
Список pgsql-hackers
> It sounds to me like you've failed to make sure that the field is
> initialized properly when a pg_attribute row is dynamically created.
> Let's see... did you fix the static FormData_pg_attribute rows near
> the top of heap.c?  Does TupleDescInitEntry() know about initializing
> the field?  (I wonder why it doesn't memset() the whole row to zero
> anyway...)

OK I'll look at them.

> pg_attribute is very possibly the most ticklish system catalog
> to add a column to.  I'd suggest looking through every single use of
> some other pg_attribute column, perhaps attstattarget or attnotnull,
> to make sure you're initializing attisdropped everywhere it should be.

OK, I'm on the case.

Chris





В списке pgsql-hackers по дате отправления:

Предыдущее
От: "Christopher Kings-Lynne"
Дата:
Сообщение: Re: BETWEEN Node & DROP COLUMN
Следующее
От: Rod Taylor
Дата:
Сообщение: Re: BETWEEN Node & DROP COLUMN