Re: psql show me the : and ask user input, when running one sql file - Mailing list pgsql-general

From Adrian Klaver
Subject Re: psql show me the : and ask user input, when running one sql file
Date
Msg-id b173d309-6f0f-45a2-075d-1cb94d02b528@aklaver.com
Whole thread Raw
In response to Re: psql show me the : and ask user input, when running one sql file  (Adrian Klaver <adrian.klaver@aklaver.com>)
Responses Re: psql show me the : and ask user input, when running one sql file
Re: psql show me the : and ask user input, when running one sql file
List pgsql-general
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@aklaver.com



pgsql-general by date:

Previous
From: Adrian Klaver
Date:
Subject: Re: psql show me the : and ask user input, when running one sql file
Next
From: arden liu
Date:
Subject: Re: psql show me the : and ask user input, when running one sql file