Re: [pgsql-advocacy] Server unreliability

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: [pgsql-advocacy] Server unreliability
Дата
Msg-id 20040930132629.GC4783@dcc.uchile.cl
обсуждение исходный текст
Ответ на Re: [pgsql-advocacy] Server unreliability  ("Marc G. Fournier" <scrappy@postgresql.org>)
Ответы Re: [pgsql-advocacy] Server unreliability  ("Marc G. Fournier" <scrappy@postgresql.org>)
Список pgsql-www
On Wed, Sep 29, 2004 at 08:24:31PM -0300, Marc G. Fournier wrote:
> On Wed, 29 Sep 2004, Alvaro Herrera wrote:
>
> >about pg_query not getting a good connection or similar problems.
> >Isn't normal advice to check return codes before even trying to use the
> >connections?  Why isn't this done in the main postgresql.org code, where
> >anyone can see it, is beyond me.  Of course the solution to the
> >underlying problem is to restart the Postgres server, but why should we
> >inform the user that Postgres' own database server is down, in the worst
> >possible way?
>
> Just curious here, but when/where?

I don't remember an exact date or place, just that I've seen that happen
more than three times and I've always thought it was bad programming
practice.  It has been very annoying, mainly because it means casual
visitors could see those and possible think Postgres reliability sucked.
Perhaps it has been fixed since then.

--
Alvaro Herrera (<alvherre[a]dcc.uchile.cl>)
"The important things in the world are problems with society that we don't
understand at all. The machines will become more complicated but they won't
be more complicated than the societies that run them."    (Freeman Dyson)


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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: [pgsql-advocacy] Infrastructure TODO list
Следующее
От: "Dave Page"
Дата:
Сообщение: Re: [pgsql-advocacy] Infrastructure TODO list