Re: Getting error codes for failed queries? - Mailing list pgsql-general

From Tom Lane
Subject Re: Getting error codes for failed queries?
Date
Msg-id 16022.1066276311@sss.pgh.pa.us
Whole thread Raw
In response to Re: Getting error codes for failed queries?  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: Getting error codes for failed queries?  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-general
Peter Eisentraut <peter_e@gmx.net> writes:
> The other problem is that changing the language at runtime doesn't really
> work well, because there are obscure dependencies on LC_CTYPE and
> depending on the implementation of gettext there is some caching going on.
> So the real answer is actually, "It doesn't work, but the superuser is
> free to try."

Ugh.  But LC_CTYPE isn't really going anywhere in our current setup, and
the feature would still be useful if we forced users to select their
message language at backend start time (via PGOPTIONS, for instance).
Can we get anywhere if we make those assumptions?

            regards, tom lane

pgsql-general by date:

Previous
From: Dennis Gearon
Date:
Subject: Re: Porting Code to Postgresql
Next
From: "Bruno BAGUETTE"
Date:
Subject: Lost views in a PostgreSQL 7.1. dump file ?