Re: enhanced error fields - Mailing list pgsql-hackers

From Pavel Stehule
Subject Re: enhanced error fields
Date
Msg-id CAFj8pRAoSQrGobxNuTP0yK8=7=66kWRCaUAfhXBvBW1Pzrpduw@mail.gmail.com
Whole thread Raw
In response to Re: enhanced error fields  (Peter Geoghegan <peter.geoghegan86@gmail.com>)
List pgsql-hackers
Hello

>
> Personally, on the face of it I'd expect the "inconsistency" to simply
> reflect the fact that the error related to the referencing table or
> referenced table. Pavel's original patch followed the same convention
> (though it also had a constraint_table field). I'm having a hard time
> figuring out the standards intent here, and I'm not sure that we
> should even care, because that applies on to GET DIAGNOSTICS, which
> isn't really the same thing as what we have here. I defer to you,
> though - it's not as if I feel too strongly about it.
>

These fields will be reused in GET DIAGNOSTICS statement in PL/pgSQL.
It is was primary goal.

Regards

Pavel



pgsql-hackers by date:

Previous
From: Satoshi Nagayasu
Date:
Subject: Re: buffer assertion tripping under repeat pgbench load
Next
From: Simon Riggs
Date:
Subject: Re: Enabling Checksums