Re: Idea for making COPY data Microsoft-proof

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Idea for making COPY data Microsoft-proof
Дата
Msg-id 18188.1013472163@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Idea for making COPY data Microsoft-proof  (Philip Warner <pjw@rhyme.com.au>)
Список pgsql-hackers
Philip Warner <pjw@rhyme.com.au> writes:
> No big deal, but this seems to be an encoding issue; and it seems like a
> good idea to formalize it somehow.

Well, currently there is a strict separation between COPY data (in the
file) and metadata (supplied as parameters to the COPY command).  I'm
not eager to revisit that decision.  What you seem to be suggesting is
shoving metadata into the data file, but I think that will create more
problems than it solves.  To take just one problem: how do I know that
the first line is metadata, and not data that happens to look exactly
like whatever my metadata layout is?
        regards, tom lane


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

Предыдущее
От: Philip Warner
Дата:
Сообщение: Re: Idea for making COPY data Microsoft-proof
Следующее
От: Tom Lane
Дата:
Сообщение: Re: RTLD_LAZY considered harmful (Re: pltlc and pltlcu