pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
See what options a Postgresql binary was compiled with
3+ messages / 3 participants
[nested] [flat]

* See what options a Postgresql binary was compiled with
@ 2021-01-21 00:27  Keith Christian <keith1christian@gmail.com>
  0 siblings, 2 replies; 3+ messages in thread

From: Keith Christian @ 2021-01-21 00:27 UTC (permalink / raw)
  To: pgsql-general@lists.postgresql.org

Planning to convert a Postgres 10 instance to systemd init. I understand it
had to be compiled with systemd support to work that way.

Thanks!

^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: See what options a Postgresql binary was compiled with
@ 2021-01-21 00:32  Tom Lane <tgl@sss.pgh.pa.us>
  parent: Keith Christian <keith1christian@gmail.com>
  1 sibling, 0 replies; 3+ messages in thread

From: Tom Lane @ 2021-01-21 00:32 UTC (permalink / raw)
  To: Keith Christian <keith1christian@gmail.com>; +Cc: pgsql-general@lists.postgresql.org

Keith Christian <keith1christian@gmail.com> writes:
> Planning to convert a Postgres 10 instance to systemd init. I understand it
> had to be compiled with systemd support to work that way.

Try "pg_config --configure" and see if --with-systemd is mentioned.

			regards, tom lane





^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: See what options a Postgresql binary was compiled with
@ 2021-01-21 12:43  Laurenz Albe <laurenz.albe@cybertec.at>
  parent: Keith Christian <keith1christian@gmail.com>
  1 sibling, 0 replies; 3+ messages in thread

From: Laurenz Albe @ 2021-01-21 12:43 UTC (permalink / raw)
  To: Keith Christian <keith1christian@gmail.com>; pgsql-general@lists.postgresql.org

On Wed, 2021-01-20 at 17:27 -0700, Keith Christian wrote:
> Planning to convert a Postgres 10 instance to systemd init.
>  I understand it had to be compiled with systemd support to work that way.

That is only necessary if you want to start the service with "Type=notify".

If you start it using "Type=oneshot" and "pg_ctl" or "Type=exec" and "postgres",
you don't need the systemd callback.

Yours,
Laurenz Albe
-- 
Cybertec | https://www.cybertec-postgresql.com






^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2021-01-21 12:43 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2021-01-21 00:27 See what options a Postgresql binary was compiled with Keith Christian <keith1christian@gmail.com>
2021-01-21 00:32 ` Tom Lane <tgl@sss.pgh.pa.us>
2021-01-21 12:43 ` Laurenz Albe <laurenz.albe@cybertec.at>

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