Alejandro Forero Cuervo writes:
> I could also parse the error string and try to detect what went
> wrong based on it, but I'd rather stay away from that option,
> which doesn't look very maintainable. Or should I do that?
In 7.4 there will be error codes.
> Do those strings get translated to different languages, for
> instance?
Yes.
--
Peter Eisentraut [EMAIL PROTECTED]
---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?
http://www.postgresql.org/docs/faqs/FAQ.html