BUG #14981: Systemd unit used postmaster ( not postgres)

Started by Антон Пацевover 8 years ago2 messagesbugs
Jump to latest
#1Антон Пацев
patsev.anton@gmail.com

The following bug has been logged on the website:

Bug reference: 14981
Logged by: Anton Patsev
Email address: patsev.anton@gmail.com
PostgreSQL version: 10.1
Operating system: CentOS 7
Description:

Hello!
I use PostgreSQL and check process in zabbix - proc.num[postgres]

But in CentOS 7 process for run posgresql is postmaster.

I download latest postgresql10-server-10.1-1PGDG.rhel7.x86_64.rpm and see
/usr/lib/systemd/system:

ExecStart=/usr/pgsql-10/bin/postmaster -D ${PGDATA}

But at
https://www.postgresql.org/docs/current/static/app-postmaster.html
wrote:
"postmaster is a deprecated alias of postgres."

If is not bug. I am sorry.
Thank you.

#2Devrim GÜNDÜZ
devrim@gunduz.org
In reply to: Антон Пацев (#1)
Re: BUG #14981: Systemd unit used postmaster ( not postgres)

Hi,

On Sun, 2017-12-17 at 14:31 +0000, patsev.anton@gmail.com wrote:

But in CentOS 7 process for run posgresql is postmaster.

I download latest postgresql10-server-10.1-1PGDG.rhel7.x86_64.rpm and see
/usr/lib/systemd/system:

ExecStart=/usr/pgsql-10/bin/postmaster -D ${PGDATA}

But at
https://www.postgresql.org/docs/current/static/app-postmaster.html
wrote:
"postmaster is a deprecated alias of postgres."

There are two reasons:

* Historical reasons: It has always been postmaster with the RPMs.
* Other reason: I personally find grepping postmaster easier than others :)

Regards,
--
Devrim Gündüz
EnterpriseDB: https://www.enterprisedb.com
PostgreSQL Consultant, Red Hat Certified Engineer
Twitter: @DevrimGunduz , @DevrimGunduzTR