Re: RESET SESSION

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Marko Kreen <markokr(at)gmail(dot)com>, PGSQL-Patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: RESET SESSION
Date: 2007-03-30 19:34:58
Message-ID: 200703301934.l2UJYwK13677@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

Tom Lane wrote:
> Bruce Momjian <bruce(at)momjian(dot)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(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://www.enterprisedb.com

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

In response to

Browse pgsql-patches by date

  From Date Subject
Next Message David Fetter 2007-03-30 20:23:58 Re: Arrays of Complex Types
Previous Message Tom Lane 2007-03-30 19:02:35 Re: RESET SESSION