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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: GH <grasshacker(at)over-yonder(dot)net>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Bug? 'psql -l' in pg_ctl?
Date: 2000-11-27 03:00:38
Message-ID: 6036.975294038@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

GH <grasshacker(at)over-yonder(dot)net> writes:
> Ah hah, I think I founnd the source of this and the file descriptor
> problem (for those of you who are familiar with it):

This is a known bug in 7.0 psql --- it leaks backend connections when
looping on a Password: prompt. I thought we'd back-patched the fix
into 7.0.3, but a check of the CVS logs shows we didn't :-(.

pg_ctl is being pretty naive here in assuming that a parameterless
psql invocation will be able to connect, but the real misbehavior is
inside psql.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2000-11-27 03:00:49 Re: Bug? 'psql -l' in pg_ctl?
Previous Message Tatsuo Ishii 2000-11-27 01:53:04 Re: Bug? 'psql -l' in pg_ctl?