Re: allow COPY routines to read arbitrary numbers of fields

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: allow COPY routines to read arbitrary numbers of fields
Дата
Msg-id 29152.1291659816@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: allow COPY routines to read arbitrary numbers of fields  (Andrew Dunstan <andrew@dunslane.net>)
Ответы Re: allow COPY routines to read arbitrary numbers of fields  (Andrew Dunstan <andrew@dunslane.net>)
Список pgsql-hackers
Andrew Dunstan <andrew@dunslane.net> writes:
> On 12/06/2010 12:11 PM, Tom Lane wrote:
>> Also, why did you change the setup code to
>> not compute nfields in binary mode?  That seems at best an unnecessary
>> change, and at worst a breakage of the binary path --- did you test it?

> AFAICT it's not used in binary mode at all. But I will double check.

Well, even if it is not used at the moment, it seems potentially of use
in that path.  So I'd vote for continuing to set it correctly, rather
than making it deliberately incorrect as this patch is going out of its
way to do.
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: serializable read only deferrable
Следующее
От: Tom Lane
Дата:
Сообщение: Re: WIP patch for parallel pg_dump