Tom Lane wrote:
> Hiroshi Inoue <[EMAIL PROTECTED]> writes:
> > Anyway should 'set autocommit to off;commit' cause
> > a warning or an error in the first place ?
> IIRC, the SET does *not* start a transaction,

Yes but doesn't autocommit-off mode mean that
it implicitly begins a transaction in suitable
places ? For example, 'set autocommit to off;
declare .. cursor ..' works though it never
work without BEGIN under autocommit-on mode.

> so the COMMIT should raise
> a warning.

Hiroshi Inoue

---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster

Reply via email to