RE: Bug? 'psql -l' in pg_ctl?

Поиск
Список
Период
Сортировка
От Robert D. Nelson
Тема RE: Bug? 'psql -l' in pg_ctl?
Дата
Msg-id 3A22B655@rba6.rbapro.com
обсуждение исходный текст
Ответ на Bug? 'psql -l' in pg_ctl?  (GH <grasshacker@over-yonder.net>)
Список pgsql-general
>I fixed that today; if the database status is not open-for-business,
>the postmaster will tell you so right away instead of making you go
>through the authentication protocol first.  So a pg_ping could be
>written that just sends a connection request packet and sees what
>comes back.
>
>However, if we're running in TRUST or IDENT mode, it's possible that
>that technique will lead to launching a backend to no purpose.  So
>maybe we ought to extend the postmaster protocol to have a "query
>status" packet type.  Thoughts?

Would it be too much to just simply inclue an expect wrapper? You could even
have it put in enough wrong auth answers so that the backend closes if you
wanted.


Rob Nelson
rdnelson@co.centre.pa.us


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

Предыдущее
От: "Alex Bolenok"
Дата:
Сообщение: OVERLAPS
Следующее
От: "Nathan Barnett"
Дата:
Сообщение: RE: Database cluster?