Re: 7.2.1 backend crash (convert_string_datum, locale)

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Mats Lofkvist <mal@algonet.se>
Cc: pgsql-bugs@postgresql.org
Date: 2002-07-15T13:56:15Z
Lists: pgsql-bugs
Mats Lofkvist <mal@algonet.se> writes:
> Without neither --enable-locale or --enable-multibyte it
> seems to work, but as I had to create a new database when
> removing locale any problems local to the first database
> are not seen anymore.

Hm.  If the database is already corrupt then simply recompiling
a corrected binary isn't going to magically make things perfect.
Maybe you should retry the snprintf patch and/or --enable-multibyte
using fresh databases.

> Is postgres 8-bit clean without locale support enabled?
> (I don't care about sort orders and such, only need to
> read/write 8-bit chars via jdbc).

In that case you don't really need locale, no.  Not sure about
whether you need multibyte; does JDBC expect Unicode support?

			regards, tom lane