Re: pasting a lot of commands to psql

From: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Dmitry Shalashov <skaurus(at)gmail(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: pasting a lot of commands to psql
Date: 2016-07-07 18:18:28
Message-ID: 20160707181828.GA689320@alvherre.pgsql
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Tom Lane 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.

--
Álvaro Herrera http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Merlin Moncure 2016-07-07 19:44:02 Re: pasting a lot of commands to psql
Previous Message Adrian Klaver 2016-07-07 18:03:02 Re: pasting a lot of commands to psql