Re: How to *really* quit psql? - Mailing list pgsql-hackers

From Fabien COELHO
Subject Re: How to *really* quit psql?
Date
Msg-id e1bc99e-5726-2133-adac-faff8b802213@mines-paristech.fr
Whole thread Raw
In response to Re: How to *really* quit psql?  ("David G. Johnston" <david.g.johnston@gmail.com>)
List pgsql-hackers
Hello David,

> vagrant@vagrant:~$ /usr/local/pgsql/bin/psql -v ON_ERROR_STOP=1 -f two.psql
> -f three.psql postgres
> ?column?
> ----------
>        2
> (1 row)
>
> ?column?
> ----------
>        3
> (1 row)
>
> (there is a \quit at the end of two.psql)

Yep, that summarizes my issues!

ON_ERROR_STOP is only of SQL errors, so a script can really stop by having 
an intentional SQL error.

-- 
Fabien.
Attachment

pgsql-hackers by date:

Previous
From: Fabien COELHO
Date:
Subject: Re: How to *really* quit psql?
Next
From: Fabien COELHO
Date:
Subject: Re: How to *really* quit psql?