Re: csv format for psql

Поиск
Список
Период
Сортировка
От David G. Johnston
Тема Re: csv format for psql
Дата
Msg-id CAKFQuwZxZbL2JwH0won641ONKOfFQhwg6s+gkDDeUcji1k=Zpw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: csv format for psql  ("Daniel Verite" <daniel@manitou-mail.org>)
Ответы Re: csv format for psql
Список pgsql-hackers
On Thu, Mar 29, 2018 at 7:30 AM, Daniel Verite <daniel@manitou-mail.org> wrote:
Personally I think the benefit of sharing fieldsep is not worth these
problems, but I'm waiting for the discussion to continue with
more opinions.

​Apologies in advance if I mis-represent someone's position.​

​It seems like having a dedicated option is the consensus opinion.  Daniel (the original author) and I both prefer it, Pavel will accept it.  Fabien​ is opposed.

Peter E. was opposed, wanting to leverage both fieldsep and recordsep, but hasn't chimed in recently.  His opinion at this point might push this over the edge since he is also a committer.

I would probably suggest maybe just calling it "\pset separator" to match the "S" in "cSv" and not have any name overlap with the fieldsep variable used with unaligned mode.  The user will have to learn anything and being more distinct should help the process.  We would not consult recordsep though the end-of-line choice should be platform dependent.

David J.

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

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: [HACKERS] logical decoding of two-phase transactions
Следующее
От: Tomas Vondra
Дата:
Сообщение: Re: Changing WAL Header to reduce contention duringReserveXLogInsertLocation()