Re: RESET CONNECTION?

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Tatsuo Ishii <ishii(at)sraoss(dot)co(dot)jp>
Cc: alvherre(at)commandprompt(dot)com, mweilguni(at)sime(dot)com, pgsql-hackers(at)postgresql(dot)org
Subject: Re: RESET CONNECTION?
Date: 2006-07-25 01:45:27
Message-ID: 200607250145.k6P1jSk00189@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tatsuo Ishii wrote:
> > Alvaro Herrera wrote:
> > > Bruce Momjian wrote:
> > > > Mario Weilguni wrote:
> > > > > Will this patch make it into 8.2?
> > > > > http://archives.postgresql.org/pgsql-patches/2004-12/msg00228.php
> > > > >
> > > > > It's a really nice feature, would be extremly useful with tools like pgpool.
> > > >
> > > > No, it will not because RESET CONNECTION can mess up interface code that
> > > > doesn't want the connection reset. We are not sure how to handle that.
> > >
> > > Hmm, what interface code are you talking about?
> >
> > I believe JDBC, for example, sets things inside the interface that would
> > be broken by RESET CONNECTION. Here is a thread about it:
> >
> > http://archives.postgresql.org/pgsql-patches/2005-01/msg00029.php
>
> I think we had similar problem with client encoding and solved it by
> using parameter status. Why don't we solve the JDBC problem in the
> same way?

Oh, yes, we could do that.

--
Bruce Momjian bruce(at)momjian(dot)us
EnterpriseDB http://www.enterprisedb.com

+ If your life is a hard drive, Christ can be your backup. +

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Jie Zhang 2006-07-25 01:49:12 Re: On-disk bitmap index patch
Previous Message David Fetter 2006-07-25 01:06:28 Re: Units in postgresql.conf -- How to report?