Re: 7.2.1 backend crash (convert_string_datum, locale) - Mailing list pgsql-bugs

From Tom Lane
Subject Re: 7.2.1 backend crash (convert_string_datum, locale)
Date
Msg-id 16056.1026741375@sss.pgh.pa.us
Whole thread Raw
In response to Re: 7.2.1 backend crash (convert_string_datum, locale)  (Mats Lofkvist <mal@algonet.se>)
List 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

pgsql-bugs by date:

Previous
From: Mats Lofkvist
Date:
Subject: Re: 7.2.1 backend crash (convert_string_datum, locale)
Next
From: "Niranjan Shivaratri"
Date:
Subject: Unable to install postgres on Mips platform.