$ ./clusterdb
psql: could not connect to server: No such file or directory
        Is the server running locally and accepting
        connections on Unix domain socket "/tmp/.s.PGSQL.5432"?
psql: could not connect to server: No such file or directory
        Is the server running locally and accepting
        connections on Unix domain socket "/tmp/.s.PGSQL.5432"?
clusterdb: While clustering peter, the following failed:
$

This could probably handled a little more gracefully.

-- 
Peter Eisentraut   peter_e@gmx.net


Sat, 19 Oct 2002 00:11:32 +0200 (CEST)
Peter Eisentraut <peter_e@gmx.net>
clusterdb has poor error recovery
On Sat, Oct 19, 2002 at 12:11:32AM +0200, Peter Eisentraut wrote:
> $ ./clusterdb
> psql: could not connect to server: No such file or directory
>         Is the server running locally and accepting
>         connections on Unix domain socket "/tmp/.s.PGSQL.5432"?
> psql: could not connect to server: No such file or directory
>         Is the server running locally and accepting
>         connections on Unix domain socket "/tmp/.s.PGSQL.5432"?
> clusterdb: While clustering peter, the following failed:
> $
> 
> This could probably handled a little more gracefully.

Yes, sorry.  A patch for this is attached.  Please apply.

-- 
Alvaro Herrera (<alvherre[a]dcc.uchile.cl>)
XML! Exclaimed C++.  What are you doing here? You're not a programming
language.
Tell that to the people who use me, said XML.
Sat, 19 Oct 2002 15:14:56 -0300
Alvaro Herrera <alvherre@dcc.uchile.cl>
Re: [HACKERS] clusterdb has poor error recovery

Your patch has been added to the PostgreSQL unapplied patches list at:

	http://momjian.postgresql.org/cgi-bin/pgpatches

I will try to apply it within the next 48 hours.

---------------------------------------------------------------------------


Alvaro Herrera wrote:
> On Sat, Oct 19, 2002 at 12:11:32AM +0200, Peter Eisentraut wrote:
> > $ ./clusterdb
> > psql: could not connect to server: No such file or directory
> >         Is the server running locally and accepting
> >         connections on Unix domain socket "/tmp/.s.PGSQL.5432"?
> > psql: could not connect to server: No such file or directory
> >         Is the server running locally and accepting
> >         connections on Unix domain socket "/tmp/.s.PGSQL.5432"?
> > clusterdb: While clustering peter, the following failed:
> > $
> > 
> > This could probably handled a little more gracefully.
> 
> Yes, sorry.  A patch for this is attached.  Please apply.
> 
> -- 
> Alvaro Herrera (<alvherre[a]dcc.uchile.cl>)
> XML! Exclaimed C++.  What are you doing here? You're not a programming
> language.
> Tell that to the people who use me, said XML.

[ Attachment, skipping... ]

> 
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
> 
> http://archives.postgresql.org

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

Sun, 20 Oct 2002 21:18:36 -0400 (EDT)
Bruce Momjian <pgman@candle.pha.pa.us>
Re: [HACKERS] clusterdb has poor error recovery

Patch applied.  Thanks.

---------------------------------------------------------------------------


Alvaro Herrera wrote:
> On Sat, Oct 19, 2002 at 12:11:32AM +0200, Peter Eisentraut wrote:
> > $ ./clusterdb
> > psql: could not connect to server: No such file or directory
> >         Is the server running locally and accepting
> >         connections on Unix domain socket "/tmp/.s.PGSQL.5432"?
> > psql: could not connect to server: No such file or directory
> >         Is the server running locally and accepting
> >         connections on Unix domain socket "/tmp/.s.PGSQL.5432"?
> > clusterdb: While clustering peter, the following failed:
> > $
> > 
> > This could probably handled a little more gracefully.
> 
> Yes, sorry.  A patch for this is attached.  Please apply.
> 
> -- 
> Alvaro Herrera (<alvherre[a]dcc.uchile.cl>)
> XML! Exclaimed C++.  What are you doing here? You're not a programming
> language.
> Tell that to the people who use me, said XML.

[ Attachment, skipping... ]

> 
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
> 
> http://archives.postgresql.org

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

Mon, 21 Oct 2002 16:32:31 -0400 (EDT)
Bruce Momjian <pgman@candle.pha.pa.us>
Re: [HACKERS] clusterdb has poor error recovery