Re: [bug fix] pg_ctl always uses the same event source

Поиск
Список
Период
Сортировка
От MauMau
Тема Re: [bug fix] pg_ctl always uses the same event source
Дата
Msg-id 37C0EB2D76E241C69226BF6D691E00CC@maumau
обсуждение исходный текст
Ответ на Re: [bug fix] pg_ctl always uses the same event source  (Amit Kapila <amit.kapila16@gmail.com>)
Ответы Re: [bug fix] pg_ctl always uses the same event source  (Amit Kapila <amit.kapila16@gmail.com>)
Список pgsql-hackers
From: "Amit Kapila" <amit.kapila16@gmail.com>
> Currently -e option is accepted with all the options that can be provided
> in pg_ctl.  Shouldn't we accept it only with options related to service,
> because that is only when it will be used.  Basically write_stderr() will
> write to event log only incase of service.

Thank you for your kind and patient review.  I hope this will bear fruit.

I don't find it so strange that -e is accepted by all operation modes of
pg_ctl --- pg_ctl seems to handle switches that way.  For example, -c is
only relevant to start and restart, but it is accepted by all modes.  -D is
not relevant to pg_ctl kill, but it is not rejected.  Plus, I prepared for
the future possibility that other modes of pg_ctl will use event log.

> Another minor point is you have forgotten to remove below declaration:
> + static void get_config_value(const char *name, char *buf, int buf_size);

Oh, removed.

> Sorry for delayed response and I am not sure that I will be able to
> complete the review of patch in next few days as I will be on vacation.

OK, I'm waiting for you.  Please have a nice vacation.

Regards
MauMau

Вложения

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

Предыдущее
От: Atri Sharma
Дата:
Сообщение: Re: Clock sweep not caching enough B-Tree leaf pages?
Следующее
От: "MauMau"
Дата:
Сообщение: Re: How can we make beta testing better?