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

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Isaac Morland <isaac(dot)morland(at)gmail(dot)com>, "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
Cc: Dutch Glory <dutch(dot)glory(at)yahoo(dot)com>, "pgsql-hackers(at)lists(dot)postgresql(dot)org" <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Postgresql 18 Linux (all flavors) - with installation, create new instance/main database
Date: 2026-05-07 13:35:29
Message-ID: b66eec14-17f7-40cf-b962-6071730402c4@dunslane.net
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


On 2026-05-07 Th 8:44 AM, Isaac Morland wrote:
> On Thu, 7 May 2026 at 08:40, David G. Johnston
> <david(dot)g(dot)johnston(at)gmail(dot)com> wrote:
>
> On Thursday, May 7, 2026, Dutch Glory <dutch(dot)glory(at)yahoo(dot)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).

+1 It's annoyed me many times.

cheers

andrew

--
Andrew Dunstan
EDB:https://www.enterprisedb.com

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Daniel Gustafsson 2026-05-07 13:44:45 Re: PostgreSQL and OpenSSL 4.0.0
Previous Message Ayush Tiwari 2026-05-07 13:06:37 Re: [PATCH] Fix duplicate errmsg in ALTER TABLE SPLIT PARTITION