pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Jc Cipriano <carlocipriano20@gmail.com>
Cc: pgsql-docs@postgresql.org
Subject: Re: Clarification of initdb ownership requirement on Windows
Date: Mon, 09 Nov 2026 09:47:14 -0500
Message-ID: <2212231.1794235634@sss.pgh.pa.us> (raw)
In-Reply-To: <CANkCYhi_QueJO644kwwV_aLwsrb1m6=7UGjaU9WbH8TvoUoBHw@mail.gmail.com>
References: <CANkCYhi_QueJO644kwwV_aLwsrb1m6=7UGjaU9WbH8TvoUoBHw@mail.gmail.com>

Jc Cipriano <carlocipriano20@gmail.com> writes:
> Could you clarify which interpretation is intended for Windows?

>    1.
>    *Same-account requirement:* The Windows account that executes initdb
>    must also be the Windows account under which the PostgreSQL server process
>    subsequently runs.
>    2.
>    *Access-based requirement:* The accounts may differ, provided that the
>    Windows account running the PostgreSQL server has the necessary access to
>    the initialized data directory and related files.

I recommend following option 1.  Option 2 might accidentally work
today, but it doesn't map to what we expect on Unix-oid systems,
and nobody here is going to shed a tear if we break it.

			regards, tom lane






view thread (3+ messages)

Message-ID: <2212231.1794235634@sss.pgh.pa.us>
Permalink:  ../2212231.1794235634@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/2212231.1794235634@sss.pgh.pa.us

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-docs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, carlocipriano20@gmail.com
  Subject: Re: Clarification of initdb ownership requirement on Windows
  In-Reply-To: <2212231.1794235634@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