Re: [PATCHES] Implementing RESET CONNECTION ... - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [PATCHES] Implementing RESET CONNECTION ...
Date
Msg-id 19532.1145978827@sss.pgh.pa.us
Whole thread Raw
In response to Re: [PATCHES] Implementing RESET CONNECTION ...  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-hackers
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> Should we add it for 8.2 and see if we get any problem reports?

No.  I don't believe this can work without a far more invasive patch
than this is.  To point out just one problem, what of cached plans in
plpgsql functions?  Those can't be carried across a genuine connection
reset (permissions and search path are two reasons why not).  And the
protocol issues are not something you can just ignore, because the
command does break reasonable driver-level expectations.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: TODO Item: ACL_CONNECT
Next
From: Wes
Date:
Subject: Re: [GENERAL] Concurrency problem building indexes