Re: RESET SESSION - Mailing list pgsql-patches

From Bruce Momjian
Subject Re: RESET SESSION
Date
Msg-id 200703301934.l2UJYwK13677@momjian.us
Whole thread Raw
In response to Re: RESET SESSION  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-patches
Tom Lane wrote:
> Bruce Momjian <bruce@momjian.us> writes:
> > Tom Lane wrote:
> >> I object to having RESET SESSION include an ABORT.
>
> > I think we should at least throw an error if someone tries RESET SESSION
> > inside a transaction, and hopefully administrators will realize they
> > have a problem.
>
> PreventTransactionChain?  Sure, if you like.  Should the single-purpose
> commands do that too?

No, I don't think so.  RESET SESSION is something I expect people might
get wrong, while the others I think are OK in transactions.

--
  Bruce Momjian  <bruce@momjian.us>          http://momjian.us
  EnterpriseDB                               http://www.enterprisedb.com

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

pgsql-patches by date:

Previous
From: Tom Lane
Date:
Subject: Re: RESET SESSION
Next
From: Tom Lane
Date:
Subject: Re: [HACKERS] Full page writes improvement, code update