Re: pasting a lot of commands to psql - Mailing list pgsql-general

From John R Pierce
Subject Re: pasting a lot of commands to psql
Date
Msg-id 70623fef-fcec-6df0-2954-c534b4babe2b@hogranch.com
Whole thread Raw
In response to Re: pasting a lot of commands to psql  (Dmitry Shalashov <skaurus@gmail.com>)
List pgsql-general
On 7/7/2016 10:30 AM, Dmitry Shalashov wrote:
>
> There is another ways to do it, which do not involve copy-paste, but I
> am wondering why is copy-paste won't work. What exactly is happening
> there...

probably your OS's console terminal emulation is overrunning on the
large paste.   many moving parts between the OS desktop clipboard, and psql.

how about using psql -f file_of_commands.sql    ?



--
john r pierce, recycling bits in santa cruz



pgsql-general by date:

Previous
From: Dmitry Shalashov
Date:
Subject: Re: pasting a lot of commands to psql
Next
From: Dmitry Shalashov
Date:
Subject: Re: pasting a lot of commands to psql