From: | Bruce Momjian <bruce(at)momjian(dot)us> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | depesz(at)depesz(dot)com, pgsql-bugs(at)postgresql(dot)org |
Subject: | Re: psql doesn't reuse -p after backend fail |
Date: | 2011-09-06 15:49:48 |
Message-ID: | 201109061549.p86Fnmt15259@momjian.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
Tom Lane wrote:
> hubert depesz lubaczewski <depesz(at)depesz(dot)com> writes:
> > On Mon, Sep 05, 2011 at 02:27:23PM -0400, Tom Lane wrote:
> >> It's not just the port, it's all the connection parameters ---
> >> do_connect relies on the PGconn object to remember those, and in this
> >> case there no longer is a PGconn object.
> >>
> >> We could have psql keep that information separately, but I'm not sure
> >> it's really worth the trouble.
>
> > well, I think it's definitely worth the trouble.
>
> [ shrug.. ] So submit a patch. Personally I don't think the case comes
> up often enough to be worth the trouble, and I'd much rather spend
> development time on preventing the server from crashing in the first
> place.
Should we document this somewhere?
--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com
+ It's impossible for everything to be true. +
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2011-09-06 16:26:47 | Re: BUG #6199: Can't install datatype hstore |
Previous Message | hubert depesz lubaczewski | 2011-09-06 15:38:29 | Re: psql doesn't reuse -p after backend fail |