| От | Tom Lane |
|---|---|
| Тема | Re: pasting a lot of commands to psql |
| Дата | |
| Msg-id | 10398.1467988608@sss.pgh.pa.us обсуждение |
| Ответ на | Re: pasting a lot of commands to psql (Francisco Olarte <folarte@peoplecall.com>) |
| Ответы |
Re: pasting a lot of commands to psql
|
| Список | pgsql-general |
Francisco Olarte <folarte@peoplecall.com> writes:
> On Thu, Jul 7, 2016 at 8:18 PM, Alvaro Herrera <alvherre@2ndquadrant.com> wrote:
>> 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?
Sure, but you could as well use 'psql -n'. I think the point is to be
able to turn it on and off without starting a fresh session. (Admittedly,
maybe there's not a lot of usability gain there.)
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера