[Pgbigm-hackers] Encoding restriction in pg_bigm

Back to archive index

Fujii Masao masao****@gmail*****
2013年 9月 13日 (金) 19:06:03 JST


On Wed, Sep 11, 2013 at 9:39 PM, Beena Emerson <memis****@gmail*****> wrote:
> Hello All,
>
> The pg_bigm document states that pg_bigm can work with only UTF8 encoding.
> However, there does not seem to be any problems when pg_bigm is used with
> other encodings.

Agreed.

The document also says that the database locale must be C when using pg_bigm.
Is this right?

My concern is that pg_bigm uses bigmtextcmp() when comparing two strings,
but this function doesn't take into consideration the locale. Is this OK?
OTOH, bttextcmp() seems to take into consideration the locale. This function
is PostgreSQL built-in function.

Thought?

Regards,

-- 
Fujii Masao




Pgbigm-hackers メーリングリストの案内
Back to archive index