Re: Postgresql 18 Linux (all flavors) - with installation, create new instance/main database - Mailing list pgsql-hackers

From Isaac Morland
Subject Re: Postgresql 18 Linux (all flavors) - with installation, create new instance/main database
Date
Msg-id CAMsGm5fs_Ws7EY+YO0nUoKKY-RMPk7O3aj2QTRy8LobnURtL1g@mail.gmail.com
Whole thread
In response to Re: Postgresql 18 Linux (all flavors) - with installation, create new instance/main database  ("David G. Johnston" <david.g.johnston@gmail.com>)
Responses Re: Postgresql 18 Linux (all flavors) - with installation, create new instance/main database
List pgsql-hackers
On Thu, 7 May 2026 at 08:40, David G. Johnston <david.g.johnston@gmail.com> wrote:
On Thursday, May 7, 2026, Dutch Glory <dutch.glory@yahoo.com> wrote:

proposal:
Postgresql 18 Linux (all flavors) - with installation, create new instance/main database:
sudo -u postgres /usr/pgsql-18/bin/pg_ctl -D /var/lib/pgsql/18/data/ initdb


No, make/ninja install should not create a database.  That is outside its appropriate responsibilities.  Installing from source stops once the binaries are installed.  Using the installed product is up to the user.

Also there are lots of reasons to install Postgres without creating an instance. This is actually one of the things I don't like about the Ubuntu installer, which defaults to creating an instance (although this behaviour can be suppressed by creating a config file with an appropriate directive first).

pgsql-hackers by date:

Previous
From: John Naylor
Date:
Subject: Re: Broken build on macOS (Universal / Intel): cpuid instruction not available
Next
From: Daniel Gustafsson
Date:
Subject: Re: Broken build on macOS (Universal / Intel): cpuid instruction not available