Re: Suggestion: Issue warning when calling SET TRANSACTION outside transaction block - Mailing list pgsql-hackers

From Robert Haas
Subject Re: Suggestion: Issue warning when calling SET TRANSACTION outside transaction block
Date
Msg-id CA+Tgmoa3qLBgM3UAxskNCqOJge=EPmZ2T0jee4ZCPHzHZLRjXw@mail.gmail.com
Whole thread Raw
In response to Re: Suggestion: Issue warning when calling SET TRANSACTION outside transaction block  (Bruce Momjian <bruce@momjian.us>)
Responses Re: Suggestion: Issue warning when calling SET TRANSACTION outside transaction block  (Bruce Momjian <bruce@momjian.us>)
List pgsql-hackers
On Wed, Nov 27, 2013 at 4:44 PM, Bruce Momjian <bruce@momjian.us> wrote:
>> Seems broadly reasonable, but I'd use "no other effect" throughout.
>
> That sounds awkward, e.g.:
>
>      Issuing <command>ROLLBACK</> outside of a transaction
>      block emits a warning but has no other effect.
>
> I could live with this:
>
>      Issuing <command>ROLLBACK</> outside of a transaction
>      block has no effect except emitting a warning.

I prefer the first version, but that's obviously a judgement call.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: new unicode table border styles for psql
Next
From: Robert Haas
Date:
Subject: Re: new unicode table border styles for psql