From: Tom Lane <tgl@sss.pgh.pa.us>
To: Nikhil Shetty <nikhil.dba04@gmail.com>
Cc: pgsql-admin <pgsql-admin@postgresql.org>
Subject: Re: initdb fails with error
Date: Thu, 16 Sep 2021 09:14:02 -0400
Message-ID: <1168406.1631798042@sss.pgh.pa.us> (raw)
In-Reply-To: <CAFpL5VzWMqzBM5e8O3ezshupD0UYg80uODcUV707-xL3KFdw4A@mail.gmail.com>
References: <CAFpL5VzWMqzBM5e8O3ezshupD0UYg80uODcUV707-xL3KFdw4A@mail.gmail.com>
Nikhil Shetty <nikhil.dba04@gmail.com> writes:
> running bootstrap script ... 2021-09-16 11:42:47.944 GMT [24522] FATAL:
> invalid value for parameter "port": ""
Perhaps you have an incorrect environment setting for PGPORT ?
I can duplicate that if I run initdb after
export PGPORT=""
regards, tom lane
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 using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: tgl@sss.pgh.pa.us, nikhil.dba04@gmail.com
Subject: Re: initdb fails with error
In-Reply-To: <1168406.1631798042@sss.pgh.pa.us>
* 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