Re: PQping command line tool

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: PQping command line tool
Дата
Msg-id 11875.1349313538@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: PQping command line tool  (Phil Sorber <phil@omniti.com>)
Список pgsql-hackers
Phil Sorber <phil@omniti.com> writes:
> How about adding it as an option to psql? That's not to say that I
> think we shouldn't also add it to 'pg_ctl status'.

> I was looking at the code and originally I was using return code to
> signify what the status was and some text output when quiet wasn't
> set, but psql has it's own set of established return codes. How does
> everyone feel about using different return codes when psql is in the
> PQping mode?

Personally, I think adding this to psql has nothing to recommend it:
it would be shoehorning an unrelated behavior in among what are already
too many constraints.

If we're going to do it at all, it should be a stand-alone tool.
If it's not worth that much work, it's not worth doing.
        regards, tom lane



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Support for REINDEX CONCURRENTLY
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: Support for REINDEX CONCURRENTLY