pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Hans Buschmann <buschmann@nidsa.net>
To: Peter Eisentraut <peter.eisentraut@enterprisedb.com>
Cc: devrim@gunduz.org <devrim@gunduz.org>
Cc: mail@joeconway.com <mail@joeconway.com>
Cc: robertmhaas@gmail.com <robertmhaas@gmail.com>
Cc: andres@anarazel.de <andres@anarazel.de>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-hackers@postgresql.org <pgsql-hackers@postgresql.org>
Subject: Re: drop postmaster symlink
Date: Tue, 23 May 2023 15:09:17 +0000
Message-ID: <1c76d7a236f345cfb4ef314e5df5a377@nidsa.net> (raw)

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

view thread (27+ messages)

Message-ID: <1c76d7a236f345cfb4ef314e5df5a377@nidsa.net>
Permalink:  ../1c76d7a236f345cfb4ef314e5df5a377@nidsa.net/
Also on:    postgresql.org/message-id/1c76d7a236f345cfb4ef314e5df5a377@nidsa.net

 · 

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-hackers@postgresql.org
  Cc: buschmann@nidsa.net, peter.eisentraut@enterprisedb.com, devrim@gunduz.org, mail@joeconway.com, robertmhaas@gmail.com, andres@anarazel.de, tgl@sss.pgh.pa.us
  Subject: Re: drop postmaster symlink
  In-Reply-To: <1c76d7a236f345cfb4ef314e5df5a377@nidsa.net>

* 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