Re: drop postmaster symlink

From: Hans Buschmann <buschmann(at)nidsa(dot)net>
To: Peter Eisentraut <peter(dot)eisentraut(at)enterprisedb(dot)com>
Cc: "devrim(at)gunduz(dot)org" <devrim(at)gunduz(dot)org>, "mail(at)joeconway(dot)com" <mail(at)joeconway(dot)com>, "robertmhaas(at)gmail(dot)com" <robertmhaas(at)gmail(dot)com>, "andres(at)anarazel(dot)de" <andres(at)anarazel(dot)de>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: drop postmaster symlink
Date: 2023-05-23 15:09:17
Message-ID: 1c76d7a236f345cfb4ef314e5df5a377@nidsa.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

When creating a private service for another instance of PostgreSQL I used the template of postgresql-15.service file installed into /usr/lib/systemd/system on Fedora 38 provided through the installation for postgres 15.3 from PGDG repositories.

There I noticed that the line ExecStart still uses the postmaster link.

I would propose to change it to

ExecStart=/usr/pgsql-15/bin/postgres -D $(PGDATA)

This change should apply also to back branches to avoid using deprecated links in PGDG software.

This seems to be necessesary on upcoming PG16.

(BTW: where is this all documented?)

Hans Buschmann

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2023-05-23 15:15:58 Re: pgsql: TAP test for logical decoding on standby
Previous Message Aleksander Alekseev 2023-05-23 14:56:13 Re: Zstandard support for toast compression