Tom Lane wrote:
Tatsuo Ishii [EMAIL PROTECTED] writes:
It looks like somebody rearranged the pg_enc enum without bothering to
fix the tables that are affected by this.
I will look into this.
Thank you. It might be worth adding a comment to pg_wchar.h listing all
the places
That is a nice solution --- instead of listing all the encodings, you
listed just the ones that need to be used. The list is shorter and
clearer. It seems like the right approach. Thanks.
---
Tatsuo Ishii wrote:
Tom
Tatsuo Ishii [EMAIL PROTECTED] writes:
I think the current implementaion in utf8_and_iso8859.c is fast but
too fragile against rearranging of encoding id. I modify those functions
in utf8_and_iso8859.c to do a linear search with encoding id.
That's not unreasonable, but I was wondering whether
Tom Lane wrote:
Tatsuo Ishii [EMAIL PROTECTED] writes:
It looks like somebody rearranged the pg_enc enum without bothering to
fix the tables that are affected by this.
I will look into this.
Thank you. It might be worth adding a comment to pg_wchar.h listing all
the places that need