Re: [WIP] pg_ping utility

Поиск
Список
Период
Сортировка
От Phil Sorber
Тема Re: [WIP] pg_ping utility
Дата
Msg-id CADAkt-jAhFP1tyNjx+eiQSO5kBSKPOPfnmyF64ScLit2Crq+Fg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [WIP] pg_ping utility  (Michael Paquier <michael.paquier@gmail.com>)
Ответы Re: [WIP] pg_ping utility  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Thu, Nov 15, 2012 at 10:55 PM, Michael Paquier
<michael.paquier@gmail.com> wrote:
> Hum, it is not really consistent to use a magic number here, particularly in
> the case where an additional state would be added in the enum PGPing. So why
> not simply return PQPING_NO_ATTEMPT when there are incorrect options or you
> show the help and exit? Looks like the best option here.

Good point. I will make that change as well.

> --
> Michael Paquier
> http://michael.otacoo.com



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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: logical changeset generation v3
Следующее
От: Simon Riggs
Дата:
Сообщение: Re: Do we need so many hint bits?