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 7F61FF9F-CE33-4B67-951B-1E94DC14A784@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
List pgsql-hackers
On Nov 28, 2013, at 5:18 PM, Bruce Momjian <bruce@momjian.us> wrote:
> On Thu, Nov 28, 2013 at 04:51:14PM -0500, Robert Haas wrote:
>> 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.
> 
> How about:
> 
>     Issuing <command>ROLLBACK</> outside of a transaction
>     block has the sole effect of emitting a warning.

Sure, that sounds OK.

...Robert



pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Suggestion: Issue warning when calling SET TRANSACTION outside transaction block
Next
From: Bruce Momjian
Date:
Subject: Re: 9.2.1 & index-only scans : abnormal heap fetches after VACUUM FULL