Re: Add schema-qualified relnames in constraint error messages. - Mailing list pgsql-hackers

From Shulgin, Oleksandr
Subject Re: Add schema-qualified relnames in constraint error messages.
Date
Msg-id CACACo5TD53+mxfuSGwM9XfSr6efQY+BZgbYerEKsafcLW0NvmQ@mail.gmail.com
Whole thread Raw
In response to Re: Add schema-qualified relnames in constraint error messages.  ("Shulgin, Oleksandr" <oleksandr.shulgin@zalando.de>)
Responses Re: Add schema-qualified relnames in constraint error messages.  ("Daniel Verite" <daniel@manitou-mail.org>)
List pgsql-hackers
On Wed, Jan 6, 2016 at 3:02 PM, Shulgin, Oleksandr <oleksandr.shulgin@zalando.de> wrote:

Please find attached a POC patch, using \errverbose for the command name.  Unfortunately, I didn't see a good way to contain the change in psql only and had to change libpq, adding new interface PQresultBuildErrorMessage().  Also, what I don't like very much is that we need to keep track of the last result from last SendQuery() in psql's pset.  So in my view this is sort of a dirty hack that works nonetheless.

Added to the Open commitfest: https://commitfest.postgresql.org/9/475/

pgsql-hackers by date:

Previous
From: "Shulgin, Oleksandr"
Date:
Subject: Re: Inconsistent error handling in START_REPLICATION command
Next
From: Fabien COELHO
Date:
Subject: Re: extend pgbench expressions with functions