В Птн, 03/06/2005 в 10:00 +0200, KÖPFERL Robert пишет:
> |
> |You can't, at the moment, except by parsing the text message.
> |
> |The "error fields" facility in the FE/BE protocol could be extended
> |in that direction, and I think there's already been some discussion
> |about it; but no one has stepped up with a concrete proposal, much
> |less volunteered to do the work ...
> |
> | regards, tom lane
>
>
> So there must be at least a bunnch of error codes (which could be printed in
> addition)?
There are, but they only say something along the lines of "unique
constraint violated", they don't say which one.
Markus
--
Markus Bertheau ☭ <twanger@bluetwanger.de>