From: Peter Eisentraut <peter.eisentraut@enterprisedb.com>
To: Марина Полякова <polyakova.marina69@gmail.com>
Cc: Marina Polyakova <m.polyakova@postgrespro.ru>
Cc: pgsql-hackers@postgresql.org
Subject: Re: Fix order of checking ICU options in initdb and create database
Date: Sat, 19 Nov 2022 13:51:35 +0100
Message-ID: <a34a8668-6b1a-5ca4-0f5d-4592a5a5977d@enterprisedb.com> (raw)
In-Reply-To: <CA+FhiezL-R+0XRpz828oHcGKOBd7d26sywE5PJbVypm6H=BNVw@mail.gmail.com>
References: <534fed4a262fee534662bd07a691c5ef@postgrespro.ru>
<205d3e3a-f726-be6b-c3bb-18333f432504@enterprisedb.com>
<CA+FhiezL-R+0XRpz828oHcGKOBd7d26sywE5PJbVypm6H=BNVw@mail.gmail.com>
On 19.11.22 13:12, Марина Полякова wrote:
>> I'm not in favor of changing this. The existing code intentionally
>> tries to centralize the "ICU is not supported in this build" knowledge
>> in few places. Your patch tries to make this check early, but in the
>> process adds more places where ICU support needs to be checked
>> explicitly. This increases the code size and also creates a future
>> burden to maintain that level of checking. I think building without ICU
>> should be considered a marginal configuration at this point, so we don't
>> need to go out of our way to create a perfect user experience for this
>> configuration, as long as we check somewhere in the end.
> Maybe this should be written in the documentation [1] or --with-icu
> should be used by default? As a developer I usually check something
> with the simplest configure run to make sure other options do not
> affect the checked behaviour. And some other developers in our company
> also use simple configure runs, without --with-icu etc.
Well, this isn't a hard rule, just my opinion and where I see the world
moving. It's similar to --with-openssl and --with-lz4 etc.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-hackers@postgresql.org
Cc: peter.eisentraut@enterprisedb.com, polyakova.marina69@gmail.com, m.polyakova@postgrespro.ru
Subject: Re: Fix order of checking ICU options in initdb and create database
In-Reply-To: <a34a8668-6b1a-5ca4-0f5d-4592a5a5977d@enterprisedb.com>
References: <534fed4a262fee534662bd07a691c5ef@postgrespro.ru> <205d3e3a-f726-be6b-c3bb-18333f432504@enterprisedb.com> <CA+FhiezL-R+0XRpz828oHcGKOBd7d26sywE5PJbVypm6H=BNVw@mail.gmail.com> <a34a8668-6b1a-5ca4-0f5d-4592a5a5977d@enterprisedb.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox