Script terminates even though ON_ERROR_STOP not set - Mailing list pgsql-admin

From Bradley Kieser
Subject Script terminates even though ON_ERROR_STOP not set
Date
Msg-id 41E7B4F6.8070505@kieser.net
Whole thread Raw
Responses Re: Script terminates even though ON_ERROR_STOP not set
List pgsql-admin
I have an admin script that drops a schema and then recreates it (quick
way to refresh from backup). However, if the schema doesn't exist, the
drop errors, as you would expect. The next SQL command, the schema
create, is never executed.

I do not have ON_ERROR_STOP set so why is this happening? I don't want
to split down to two calls of psql if possible, which is the present
work-around. Would prefer to solve the problem.

Thanks,

Brad


pgsql-admin by date:

Previous
From: Michael Fuhr
Date:
Subject: Re: ERROR: btree: index item size 2892 exceeds maximum 2713
Next
From: Dick Davies
Date:
Subject: Re: pam