pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter@eisentraut.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Allow initdb to complete on systems without "locale" command
Date: Thu, 17 Nov 2022 11:19:37 +0000
Message-ID: <E1ovcvg-000acE-TN@gemulon.postgresql.org> (raw)

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(-)



Message-ID: <E1ovcvg-000acE-TN@gemulon.postgresql.org>
Permalink:  ../E1ovcvg-000acE-TN@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1ovcvg-000acE-TN@gemulon.postgresql.org

 · 

reply

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-committers@postgresql.org
  Cc: peter@eisentraut.org
  Subject: Re: pgsql: Allow initdb to complete on systems without "locale" command
  In-Reply-To: <E1ovcvg-000acE-TN@gemulon.postgresql.org>
  References: <E1ovcvg-000acE-TN@gemulon.postgresql.org>

* 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