Skip site navigation (1) Skip section navigation (2)

Re: [pgsql-advocacy] Server unreliability

From: Alvaro Herrera <alvherre(at)dcc(dot)uchile(dot)cl>
To: "Marc G(dot) Fournier" <scrappy(at)postgresql(dot)org>
Cc: Josh Berkus <josh(at)agliodbs(dot)com>, pgsql-advocacy(at)postgresql(dot)org,Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>,PostgreSQL www <pgsql-www(at)postgresql(dot)org>
Subject: Re: [pgsql-advocacy] Server unreliability
Date: 2004-09-30 13:26:29
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-advocacypgsql-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 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]>)
"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)

In response to


pgsql-www by date

Next:From: Dave PageDate: 2004-09-30 13:32:25
Subject: Re: [pgsql-advocacy] Infrastructure TODO list
Previous:From: John HansenDate: 2004-09-30 13:25:36
Subject: Archives / search

pgsql-advocacy by date

Next:From: Alvaro HerreraDate: 2004-09-30 13:32:49
Subject: Re: [pgsql-advocacy] Server unreliability
Previous:From: Alvaro HerreraDate: 2004-09-30 13:11:53
Subject: Re: [pgsql-advocacy] Infrastructure TODO list

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group