Sunday, July 20, 2008

Re: [NOVICE] Stopping a transaction as soon as an error occurs

On Thu, Jul 17, 2008 at 7:36 PM, John DeSoi <desoi@pgedit.com> wrote:
Put this at the stop of your file to make psql stop when an error occurs:

\set ON_ERROR_STOP 1


Thanks for this! This is basically what I need!


Ridvan

--
Bill Cosby  - "Advertising is the most fun you can have with your clothes on."

No comments: