Re: pasting a lot of commands to psql

Поиск
Список
Период
Сортировка
От Francisco Olarte
Тема Re: pasting a lot of commands to psql
Дата
Msg-id CA+bJJbxZ3-EWubL6Ya2c8BdgQOOJoi5ReAq7BXzqiWm0wkPjGw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: pasting a lot of commands to psql  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Ответы Re: pasting a lot of commands to psql  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
Hi:

On Thu, Jul 7, 2016 at 8:18 PM, Alvaro Herrera <alvherre@2ndquadrant.com> wrote:
>> You might have better luck with "psql -n", or maybe not.
> I've wished sometimes for a "\set READLINE off" psql metacommand for
> this kind of thing.  It's pretty annoying when the text being pasted
> contains tabs and readline uses to do completion.

Doesn't 'cat | psql ' disable it? I use it with other programs for
these purpose ( as well as things like ls | cat to avoid
colors/wordwrapping, just makes the program see a non-tty on
stidn/stdout ).

Francisco Olarte.


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

Предыдущее
От: Sameer Kumar
Дата:
Сообщение: Re: [BUGS] Where clause in pg_dump: need help
Следующее
От: AMatveev@bitec.ru
Дата:
Сообщение: Memory usage per session