Re: very long record lines in expanded psql output

Поиск
Список
Период
Сортировка
От Pavel Stehule
Тема Re: very long record lines in expanded psql output
Дата
Msg-id CAFj8pRCZwOXDmcHQ5tKt-ukduSRzPmu2-svouCEDQ+LCFXSmfw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: very long record lines in expanded psql output  (Platon Pronko <platon7pronko@gmail.com>)
Ответы Re: very long record lines in expanded psql output  (Platon Pronko <platon7pronko@gmail.com>)
Re: very long record lines in expanded psql output  (Andrew Dunstan <andrew@dunslane.net>)
Список pgsql-hackers


čt 5. 8. 2021 v 18:48 odesílatel Platon Pronko <platon7pronko@gmail.com> napsal:
Hi!
>>> I also find this annoying and would be happy to be rid of it.
>>
>> Have you tried "\pset format wrapped"? Pavel suggested it, and it
>> solved most of the problem for me, for example.
>
> Yes, but it changes the data line output. Ideally, you should be able
> to  modify these independently.

I agree, and I think this can be implemented, but I'm a bit afraid of
introducing an additional psql option (there's already quite a lot of them).
I suspect primary PostgreSQL maintainers won't be happy with such an approach.

it can be a fully new format - designed for simple copy from terminal. Some like

====== record: 10 ======
------------ proname ------------
left
------------ prosrc  ------------
$lalalal
ewqrwqerw
ewqrwqerqrewq
$
===============

Regards

Pavel


Best regards,
Platon Pronko

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

Предыдущее
От: Platon Pronko
Дата:
Сообщение: Re: very long record lines in expanded psql output
Следующее
От: Dean Rasheed
Дата:
Сообщение: Re: Numeric x^y for negative x