Re: Proposal to add a QNX 6.5 port to PostgreSQL

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Proposal to add a QNX 6.5 port to PostgreSQL
Дата
Msg-id 577.1406857889@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Proposal to add a QNX 6.5 port to PostgreSQL  ("Baker, Keith [OCDUS Non-J&J]" <KBaker9@its.jnj.com>)
Ответы Re: Proposal to add a QNX 6.5 port to PostgreSQL  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
"Baker, Keith [OCDUS Non-J&J]" <KBaker9@its.jnj.com> writes:
> Since ensuring there are not orphaned back-end processes is vital, could we add a check for getppid() == 1 ?

No.  Or yeah, we could, but that patch would add no security worth
mentioning.  For example, someone could launch a query that runs for
many minutes, and would have plenty of time to conflict with a
subsequently-started postmaster.

Even without that issue, there's no consensus that forcibly making
orphan backends exit would be a good thing.  (Some people would
like to have such an option, but the key word in that sentence is
"option".)
        regards, tom lane



В списке pgsql-hackers по дате отправления:

Предыдущее
От: "Baker, Keith [OCDUS Non-J&J]"
Дата:
Сообщение: Re: Proposal to add a QNX 6.5 port to PostgreSQL
Следующее
От: Amit Kapila
Дата:
Сообщение: Re: commitfest status