Re: very long record lines in expanded psql output

Поиск
Список
Период
Сортировка
От Platon Pronko
Тема Re: very long record lines in expanded psql output
Дата
Msg-id 3d337f89-d7db-2198-2a7c-a7ce58b94ce8@gmail.com
обсуждение исходный текст
Ответ на Re: very long record lines in expanded psql output  (Pavel Stehule <pavel.stehule@gmail.com>)
Ответы Re: very long record lines in expanded psql output  (Pavel Stehule <pavel.stehule@gmail.com>)
Список pgsql-hackers
> it can be a fully new format - designed for simple copy from terminal. Some
> like
> 
> ====== record: 10 ======
> ------------ proname ------------
> left
> ------------ prosrc  ------------
> $lalalal
> ewqrwqerw
> ewqrwqerqrewq
> $
> ===============

> no, it was proposed for psql

How is this better than "copy (...) to stdout"? E.g.:

$ copy (select * from pg_class limit 1) to stdout;
2619    pg_statistic    11    12016    0    10    2    2619    0    18    402    18    2840    t    f    p    r    31
0    f    f    f    f    f    t    n    f0    478    1    {postgres=arwdDxt/postgres}    \N    \N
 

You can still copy the necessary parts (using mouse selection) -
seems that it achieves the the same goal.

Best regards,
Platon Pronko



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

Предыдущее
От: Pavel Stehule
Дата:
Сообщение: Re: very long record lines in expanded psql output
Следующее
От: Pavel Stehule
Дата:
Сообщение: Re: very long record lines in expanded psql output