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

From arden liu
Subject Re: psql show me the : and ask user input, when running one sql file
Date
Msg-id CAK0Kdk=2mKy9hL0wMcDOJrcLYOdesSdLz_yYNBp0=wRgfHAY-A@mail.gmail.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
List pgsql-general
Does that RETURNING need any user input?

On Sun., Apr. 5, 2020, 1:10 p.m. Adrian Klaver, <adrian.klaver@aklaver.com> wrote:
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: arden liu
Date:
Subject: Re: psql show me the : and ask user input, when running one sql file
Next
From: Adrian Klaver
Date:
Subject: Re: psql show me the : and ask user input, when running one sql file