pgsql: Allow initdb to complete on systems without "locale" command

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Allow initdb to complete on systems without "locale" command
Date: 2022-11-17 11:19:37
Message-ID: E1ovcvg-000acE-TN@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Allow initdb to complete on systems without "locale" command

This partially reverts 2fe3bdbd691a5d11626308e7d660440be6c210c8, which
added an error check on the "locale -a" execution. This is removed
again, adding a comment explaining why. We already had code that
shows a warning if no system locales could be found, which should be
sufficient for feedback to the user.

Discussion: https://www.postgresql.org/message-id/flat/b2b491d1-3b36-15b9-6910-5b5540b27f5c%40enterprisedb.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/af3abca029b39ae6bdb683a758b11375e9839631

Modified Files
--------------
src/backend/commands/collationcmds.c | 17 +++++++----------
1 file changed, 7 insertions(+), 10 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Alvaro Herrera 2022-11-17 11:54:03 pgsql: Fix outdated comment in ExecDelete
Previous Message Daniel Gustafsson 2022-11-17 09:09:28 pgsql: doc: Fix wording of MERGE actions in README