-
Notifications
You must be signed in to change notification settings - Fork 372
ICU is not supported in this build #898
Description
Are you building pglite without ICU support?
When running this query in the REPL:
CREATE DATABASE mydb
ENCODING = 'UTF8'
LOCALE_PROVIDER = 'icu'
ICU_LOCALE = 'und'
TEMPLATE = template0;I get:
ICU is not supported in this build
Would it be possible to provide it as an extension? I'm afraid maybe it's not.
I realize ICU may add substantially to the binary footprint, and I'm guessing you omitted this for size?
But without it, PGLite works basically for English and not much else - any multi lingual application is going to require a Unicode collation, so that users can sort and search as expected. Even in English-only software, user names often have special characters, so this matters for sorting and searching even then.
I would guess this adds at least 5 MB of footprint, so this would likely triple your footprint. Not that 10 MB is a lot in this day and age. And PGLite has uses outside of the browser, on the server. (Not that sorting and searching is any less important on the client side, but...)
Would you consider shipping two builds?