pg.ddx.io pgsql-general@postgresql.org mailing list archive
help / color / mirror / Atom feedPG18.6 Windows Initialization
6+ messages / 3 participants
[nested] [flat]
* PG18.6 Windows Initialization
@ 2026-10-24 14:50 sutyak <sutyak@proton.me>
0 siblings, 1 reply; 6+ messages in thread
From: sutyak @ 2026-10-24 14:50 UTC (permalink / raw)
To: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
Using meson/ninja I've built PostgreSQL 18.6 using a FIPS-compliant version of OpenSSL and now I am attempting to initialize it.
After running initdb.exe it always hangs at selecting default "max_connections" ...
Any troubleshooting tips appreciated. Nothing shows in any logs and using the debug switch doesn't provide anything additional for troubleshooting.
Mark Sutyak
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: PG18.6 Windows Initialization
@ 2026-10-24 15:06 Adrian Klaver <adrian.klaver@aklaver.com>
parent: sutyak <sutyak@proton.me>
0 siblings, 1 reply; 6+ messages in thread
From: Adrian Klaver @ 2026-10-24 15:06 UTC (permalink / raw)
To: sutyak <sutyak@proton.me>; pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
On 10/24/26 7:50 AM, sutyak wrote:
> Using meson/ninja I've built PostgreSQL 18.6 using a FIPS-compliant
> version of OpenSSL and now I am attempting to initialize it.
> After running initdb.exe it always hangs at selecting default
> "max_connections" ...
You will need to give a more detailed description of what "...selecting
default "max_connections" ..." means?
>
> Any troubleshooting tips appreciated. Nothing shows in any logs and
> using the debug switch doesn't provide anything additional for
> troubleshooting.
>
> Mark Sutyak
--
Adrian Klaver
adrian.klaver@aklaver.com
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: PG18.6 Windows Initialization
@ 2026-10-24 16:59 sutyak <sutyak@proton.me>
parent: Adrian Klaver <adrian.klaver@aklaver.com>
0 siblings, 2 replies; 6+ messages in thread
From: sutyak @ 2026-10-24 16:59 UTC (permalink / raw)
To: Adrian Klaver <adrian.klaver@aklaver.com>; +Cc: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
This is the full cmd output.
C:\Users\admin\Desktop\PostgreSQL_18.6-FIPS\bin>initdb.exe
The files belonging to this database system will be owned by user "admin".
This user must also own the server process.
The database cluster will be initialized with locale "English_United States.1252".
The default database encoding has accordingly been set to "WIN1252".
The default text search configuration will be set to "english".
Data page checksums are enabled.
creating directory D:/PostgreSQL/18/data ... ok
creating subdirectories ... ok
selecting dynamic shared memory implementation ... windows
selecting default "max_connections" ...
Mark Sutyak
On Saturday, October 24th, 2026 at 11:07 AM, Adrian Klaver <adrian.klaver@aklaver.com> wrote:
> On 10/24/26 7:50 AM, sutyak wrote:
> > Using meson/ninja I've built PostgreSQL 18.6 using a FIPS-compliant
> > version of OpenSSL and now I am attempting to initialize it.
> > After running initdb.exe it always hangs at selecting default
> > "max_connections" ...
>
> You will need to give a more detailed description of what "...selecting
> default "max_connections" ..." means?
>
> >
> > Any troubleshooting tips appreciated. Nothing shows in any logs and
> > using the debug switch doesn't provide anything additional for
> > troubleshooting.
> >
> > Mark Sutyak
>
>
> --
> Adrian Klaver
> adrian.klaver@aklaver.com
>
>
>
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: PG18.6 Windows Initialization
@ 2026-10-24 18:53 Adrian Klaver <adrian.klaver@aklaver.com>
parent: sutyak <sutyak@proton.me>
1 sibling, 0 replies; 6+ messages in thread
From: Adrian Klaver @ 2026-10-24 18:53 UTC (permalink / raw)
To: sutyak <sutyak@proton.me>; +Cc: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
On 10/24/26 9:59 AM, sutyak wrote:
> This is the full cmd output.
>
> C:\Users\admin\Desktop\PostgreSQL_18.6-FIPS\bin>initdb.exe
> The files belonging to this database system will be owned by user "admin".
> This user must also own the server process.
>
> The database cluster will be initialized with locale "English_United States.1252".
> The default database encoding has accordingly been set to "WIN1252".
> The default text search configuration will be set to "english".
>
> Data page checksums are enabled.
>
> creating directory D:/PostgreSQL/18/data ... ok
> creating subdirectories ... ok
> selecting dynamic shared memory implementation ... windows
> selecting default "max_connections" ...
What was the complete build command you used?
Did you edit any of the files in the ~/src/ directory?
>
>
>
> Mark Sutyak
>
>
> On Saturday, October 24th, 2026 at 11:07 AM, Adrian Klaver <adrian.klaver@aklaver.com> wrote:
>
>> On 10/24/26 7:50 AM, sutyak wrote:
>>> Using meson/ninja I've built PostgreSQL 18.6 using a FIPS-compliant
>>> version of OpenSSL and now I am attempting to initialize it.
>>> After running initdb.exe it always hangs at selecting default
>>> "max_connections" ...
>>
>> You will need to give a more detailed description of what "...selecting
>> default "max_connections" ..." means?
>>
>>>
>>> Any troubleshooting tips appreciated. Nothing shows in any logs and
>>> using the debug switch doesn't provide anything additional for
>>> troubleshooting.
>>>
>>> Mark Sutyak
>>
>>
>> --
>> Adrian Klaver
>> adrian.klaver@aklaver.com
>>
>>
>>
--
Adrian Klaver
adrian.klaver@aklaver.com
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: PG18.6 Windows Initialization
@ 2026-10-24 19:19 Daniel Gustafsson <daniel@yesql.se>
parent: sutyak <sutyak@proton.me>
1 sibling, 1 reply; 6+ messages in thread
From: Daniel Gustafsson @ 2026-10-24 19:19 UTC (permalink / raw)
To: sutyak <sutyak@proton.me>; +Cc: Adrian Klaver <adrian.klaver@aklaver.com>; pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
> On 24 Oct 2026, at 18:59, sutyak <sutyak@proton.me> wrote:
Please don't top-post, replying inline retains valuable context in the email.
> selecting default "max_connections" ...
At this point initdb.exe is trying to run postgres.exe --check with different
options to probe for what to pick, and clearly it's failing. If you look at
test_specific_config_settings() in initdb.c you can see the command it is
trying to run, and you can attempt to run it manually to try and see what's
going on.
--
Daniel Gustafsson
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: PG18.6 Windows Initialization
@ 2026-10-24 19:29 sutyak <sutyak@proton.me>
parent: Daniel Gustafsson <daniel@yesql.se>
0 siblings, 0 replies; 6+ messages in thread
From: sutyak @ 2026-10-24 19:29 UTC (permalink / raw)
To: Daniel Gustafsson <daniel@yesql.se>; +Cc: Adrian Klaver <adrian.klaver@aklaver.com>; pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
Sent from Proton Mail for Android.
-------- Original Message --------
On Saturday, 10/24/26 at 15:20 Daniel Gustafsson <daniel@yesql.se> wrote:
> On 24 Oct 2026, at 18:59, sutyak <sutyak@proton.me> wrote:
Please don't top-post, replying inline retains valuable context in the email.
> selecting default "max_connections" ...
At this point initdb.exe is trying to run postgres.exe --check with different
options to probe for what to pick, and clearly it's failing. If you look at
test_specific_config_settings() in initdb.c you can see the command it is
trying to run, and you can attempt to run it manually to try and see what's
going on.
--
Daniel Gustafsson
That's a great lead. Thank you, Daniel.
I'll reply back with what I find. Probably Monday.
Mark Sutyak
^ permalink raw reply [nested|flat] 6+ messages in thread
end of thread, other threads:[~2026-10-24 19:29 UTC | newest]
Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2026-10-24 14:50 PG18.6 Windows Initialization sutyak <sutyak@proton.me>
2026-10-24 15:06 ` Adrian Klaver <adrian.klaver@aklaver.com>
2026-10-24 16:59 ` sutyak <sutyak@proton.me>
2026-10-24 18:53 ` Adrian Klaver <adrian.klaver@aklaver.com>
2026-10-24 19:19 ` Daniel Gustafsson <daniel@yesql.se>
2026-10-24 19:29 ` sutyak <sutyak@proton.me>
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