Re: Suggestion: Issue warning when calling SET TRANSACTION outside transaction block
| От | Bruce Momjian |
|---|---|
| Тема | Re: Suggestion: Issue warning when calling SET TRANSACTION outside transaction block |
| Дата | |
| Msg-id | 20131128221828.GB20216@momjian.us обсуждение исходный текст |
| Ответ на | Re: Suggestion: Issue warning when calling SET TRANSACTION outside transaction block (Robert Haas <robertmhaas@gmail.com>) |
| Ответы |
Re: Suggestion: Issue warning when calling SET TRANSACTION outside transaction block
|
| Список | pgsql-hackers |
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.
-- Bruce Momjian <bruce@momjian.us> http://momjian.us EnterpriseDB
http://enterprisedb.com
+ Everyone has their own god. +
В списке pgsql-hackers по дате отправления: