Re: COPY BINARY file format proposal

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: COPY BINARY file format proposal
Дата
Msg-id 12707.976135015@sss.pgh.pa.us
обсуждение исходный текст
Ответ на COPY BINARY file format proposal  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Re: COPY BINARY file format proposal  (Philip Warner <pjw@rhyme.com.au>)
Список pgsql-hackers
Grumble, I forgot about COPY WITH OIDS.  Amend that proposal as follows:

... We should use two different
magic numbers depending on whether OIDs are included in the dump or not.

If OIDs are included in the dump, the OID field immediately follows the
field-count word.  It is a normal field except that it's not included
in the field-count.  In particular it has a typlen --- this will allow
handling of 4-byte vs 8-byte OIDs without too much pain, and will allow
OIDs to be shown as NULL if we someday allow OIDs to be optional.
        regards, tom lane


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

Предыдущее
От: Oleg Bartunov
Дата:
Сообщение: Re: CVS: miscadmin.h is missing
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Logging for sequences