Re: pasting a lot of commands to psql

Поиск
Список
Период
Сортировка
От John R Pierce
Тема Re: pasting a lot of commands to psql
Дата
Msg-id 70623fef-fcec-6df0-2954-c534b4babe2b@hogranch.com
обсуждение исходный текст
Ответ на Re: pasting a lot of commands to psql  (Dmitry Shalashov <skaurus@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: Dmitry Shalashov
Дата:
Сообщение: Re: pasting a lot of commands to psql
Следующее
От: Dmitry Shalashov
Дата:
Сообщение: Re: pasting a lot of commands to psql