Re: [Patch] Create a new session in postmaster by calling setsid()

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [Patch] Create a new session in postmaster by calling setsid()
Дата
Msg-id 643.1533220216@sss.pgh.pa.us
обсуждение исходный текст
Ответ на [Patch] Create a new session in postmaster by calling setsid()  (Paul Guo <pguo@pivotal.io>)
Ответы Re: [Patch] Create a new session in postmaster by calling setsid()
Список pgsql-hackers
Paul Guo <pguo@pivotal.io> writes:
> [ make the postmaster execute setsid() too ]

I'm a bit skeptical of this proposal.  Forcing the postmaster to
dissociate from its controlling terminal is a good thing in some
scenarios, but probably less good in others, and manual postmaster
starts are probably mostly in the latter class.

I wonder whether having "pg_ctl start" do a setsid() would accomplish
the same result with less chance of breaking debugging usages.

            regards, tom lane


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

Предыдущее
От: Shay Rojansky
Дата:
Сообщение: Re: Stored procedures and out parameters
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Problems with plan estimates in postgres_fdw