Обсуждение: postmaster.c postgres.c pg_ctl etc. updated

Поиск
Список
Период
Сортировка

postmaster.c postgres.c pg_ctl etc. updated

От
Tatsuo Ishii
Дата:
I have modified following files.

bin/pg_ctl/pg_ctl.sh
include/miscadmin.h
backend/postmaster/poastmaster.c
backend/tcop/postgres.c
backend/utils/init/miscinit.c

The reason for the changes is to prevent starting postmaster if
(standalone) postgres is running and vice versa. Also, to know the pid
in postmaster.pid is postmaster or postgres, I set following
convention:

pid > 0: postmaster
pid < 0: (standalone) postgres
--
Tatsuo Ishii