Re: BUG #3790: pg_restore error canceling statement due touser request - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #3790: pg_restore error canceling statement due touser request
Date
Msg-id 28441.1196782329@sss.pgh.pa.us
Whole thread Raw
In response to Re: BUG #3790: pg_restore error canceling statement due touser request  (Gregory Stark <stark@enterprisedb.com>)
Responses Re: BUG #3790: pg_restore error canceling statement due touser request  (Gregory Stark <stark@enterprisedb.com>)
List pgsql-bugs
Gregory Stark <stark@enterprisedb.com> writes:
> I guess we should capture this error with a PG_TRY and silently abort instead.
> Just a NOTICE or INFO should be sufficient. Other errors should of course be
> rethrown.

This falls in the category of "destabilizing the code for purely
cosmetic reasons", and would be a foolish change to make at RC1 time.

We could change the text of the ERROR message reasonably easily,
but changing the basic transaction abort method is right out.

            regards, tom lane

pgsql-bugs by date:

Previous
From: Magnus Hagander
Date:
Subject: Re: BUG #3750: Invalid frontend message type 112
Next
From: Gregory Stark
Date:
Subject: Re: BUG #3790: pg_restore error canceling statement due touser request