"George Jansen" <gjansen@aflcio.org> writes:
> [ inconsistent comparison behavior ]
> Both old and new databases use SQL_ASCII. Is this a bug?
I think it's probably a locale problem; did you initdb the database in C
locale? (Check SHOW LC_COLLATE and SHOW LC_CTYPE to be sure.) Usually
we see this sort of thing when the locale is expecting characters in a
different encoding than what's actually being stored.
regards, tom lane