Re: [HACKERS] proposal: psql command \graw

Поиск
Список
Период
Сортировка
От Fabien COELHO
Тема Re: [HACKERS] proposal: psql command \graw
Дата
Msg-id alpine.DEB.2.20.1708221029110.19265@lancre
обсуждение исходный текст
Ответ на [HACKERS] proposal: psql command \graw  (Pavel Stehule <pavel.stehule@gmail.com>)
Ответы Re: [HACKERS] proposal: psql command \graw  (Pavel Stehule <pavel.stehule@gmail.com>)
Список pgsql-hackers
Hello Pavel,

> One my idea is introduction new simple output format and execution command
> with result in this format.
>
> It should work something like
>
> \setenv GNUPLOT_OPTION '......'
> SELECT * FROM data
> \graw | gnuplot ...

I understand that it is kind of a shortcut for:
  \pset fieldsep ' '  \pset format unaligned  \pset tuples_only on  -- possibly other settings...  SELECT * FROM data
\g| gnuplot '...'
 

And then you have to persuade gnuplot to take its data from stdin?

-- 
Fabien.



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

Предыдущее
От: Aleksander Alekseev
Дата:
Сообщение: Re: [HACKERS] proposal: psql command \graw
Следующее
От: Ashutosh Sharma
Дата:
Сообщение: Re: [HACKERS] Page Scan Mode in Hash Index