Search Postgresql Archives

Re: psql show me the : and ask user input, when running one sql file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 4/5/20 9:46 AM, Adrian Klaver wrote:
On 4/5/20 5:50 AM, arden liu wrote:

4) I don't see anything wrong the statements, so I am wondering if it is a shell issue?

Seems to be. I removed the RETURNING *_id from the INSERT statements and the file ran without interruption:

...
CREATE TABLE
ALTER TABLE
INSERT 0 4333
INSERT 0 9326
INSERT 0 13
ALTER TABLE
ALTER TABLE
...




Thanks.
Arden




--
Adrian Klaver
adrian.klaver@xxxxxxxxxxx





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux