Re: PostgreSQL in Windows console and Ctrl-C

Поиск
Список
Период
Сортировка
От Christian Ullrich
Тема Re: PostgreSQL in Windows console and Ctrl-C
Дата
Msg-id a6e5ae73b5c943f1b5d202c05c36b1aa@AMSPR06MB134.eurprd06.prod.outlook.com
обсуждение исходный текст
Ответ на Re: PostgreSQL in Windows console and Ctrl-C  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: PostgreSQL in Windows console and Ctrl-C  (Amit Kapila <amit.kapila16@gmail.com>)
Re: PostgreSQL in Windows console and Ctrl-C  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
* From: Robert Haas

> On Mon, Apr 14, 2014 at 2:16 AM, Christian Ullrich
> <chris@chrullrich.net> wrote:

> > I meant creating a new one, yes. If, say, PGSQL_BACKGROUND_JOB was
> > set, the postmaster etc. would ignore the events.
> 
> Why not just pass a command-line switch?

Because, as I wrote in the message you are quoting, I did not think that
having a command-line option for the sole purpose of telling the 
postmaster who its parent is was a suitable solution. 

I had already given up on that idea based on Amit's advice, and I will 
create a patch based on a command-line option.

While I have you here, though, any suggestions on what the name of that
option should be? I think --background is about right. Also, how should
I treat the option on non-Windows platforms? Should it just not be there
(= error), or be ignored if present?

-- 
Christian



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

Предыдущее
От: Peter Geoghegan
Дата:
Сообщение: Re: Clock sweep not caching enough B-Tree leaf pages?
Следующее
От: Christian Ullrich
Дата:
Сообщение: Re: PostgreSQL in Windows console and Ctrl-C