Re: Unused system table columns

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Unused system table columns
Дата
Msg-id 4272.1026799986@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Unused system table columns  (Hannu Krosing <hannu@tm.ee>)
Ответы Re: Unused system table columns  (Hannu Krosing <hannu@tm.ee>)
Список pgsql-hackers
Hannu Krosing <hannu@tm.ee> writes:
>> We can always re-add the columns them.

> But would it not be nice if we could add uniform binary protocol without
> requiring initdb ?

That won't happen, because the existing contents of those columns are
completely useless for a binary-protocol feature.

If we do ever add such a feature, we'd be better off adding new columns
with a different name, just to avoid confusion over what's supposed to
be there.  (For example: extant pg_dump scripts for user-defined types
will try to load wrong values into those columns if given a chance.
We *must* use new names for those slots in CREATE TYPE to avoid that
pitfall, and so we might as well change the system column name too.)
        regards, tom lane


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Unused system table columns
Следующее
От: "Christopher Kings-Lynne"
Дата:
Сообщение: Re: Unused system table columns