Tom Lane wrote: > > Hiroshi Inoue <[EMAIL PROTECTED]> writes: > > Tom Lane wrote: > >> 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. > > But the DECLARE would start a transaction --- AFAIR, Yes it's only because the behavior is useful for us. So isn't the problem if the warning message for 'set autocommit to off;commit' is useful or not ? IMHO it's rather a harmful message. regards, Hiroshi Inoue http://www.geocities.jp/inocchichichi/psqlodbc/ ---------------------------(end of broadcast)--------------------------- TIP 5: Have you checked our extensive FAQ? http://www.postgresql.org/users-lounge/docs/faq.html
- [HACKERS] A bad behavior under autocommit off mode Hiroshi Inoue
- Re: [HACKERS] A bad behavior under autocommit off mo... Tom Lane
- Re: [HACKERS] A bad behavior under autocommit of... D'Arcy J.M. Cain
- Re: [HACKERS] A bad behavior under autocommit of... Hiroshi Inoue
- Re: [HACKERS] A bad behavior under autocommi... Tom Lane
- Re: [HACKERS] A bad behavior under autoc... Hiroshi Inoue
- Re: [HACKERS] A bad behavior under ... Tom Lane
- Re: [HACKERS] A bad behavior un... Hiroshi Inoue
- Re: [HACKERS] A bad behavio... Tom Lane
- [HACKERS] autocommit off mo... Hiroshi Inoue
- [HACKERS] autocommit off mo... Dave Cramer
- Re: [HACKERS] autocommit of... Tom Lane
- Re: [HACKERS] autocommit of... Dave Cramer
- Re: [HACKERS] autocommit of... Dave Cramer
- Re: [HACKERS] autocommit of... Tom Lane
- Re: [HACKERS] A bad behavior under autocommit off mo... Bruce Momjian
- Re: [HACKERS] A bad behavior under autocommit off mo... Bruce Momjian
- Re: [HACKERS] A bad behavior under autocommit off mo... Barry Lind
- Re: [HACKERS] A bad behavior under autocommit of... Robert Treat
- Re: [HACKERS] A bad behavior under autocommit off mo... Hiroshi Inoue