Received: from gauss.deltav.hu (deltav.hu [213.163.0.2]) by mail.postgresql.org (8.11.1/8.11.1) with ESMTP id f19B2Vx19891 for ; Fri, 9 Feb 2001 06:02:31 -0500 (EST) (envelope-from ltibor@mail.tiszanet.hu) Received: from pcltibor (eko-gw.ekopark.hu [213.163.10.100]) by gauss.deltav.hu (Netscape Messaging Server 3.6) with SMTP id AAA5EFA for ; Fri, 9 Feb 2001 12:05:59 +0100 From: =?iso-8859-1?B?TOFzemzzIFRpYm9y?= To: Subject: RE: 7.1 beta 3 Linux ODBC BEGIN Behaviour Date: Fri, 9 Feb 2001 12:02:37 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) In-reply-to: <4.3.2.7.2.20010208124747.00c3e860@mail.merge.com> X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Importance: Normal X-Archive-Number: 200102/70 X-Sequence-Number: 1023 > I found another slight behavior change with the Linux > client ODBC library between 7.0.3 and the 7.1 beta 3 > release. We are running under Redhat 6.0. > > We have set the ODBC driver in autocommit off mode. With > the 7.0.3 driver, a BEGIN was automatically issued > before the driver encountered a INSERT/UPDATE/DELETE. With > the 7.1 beta 3 ODBC driver, it now also issues a BEGIN when it > encounters a SELECT. > > Is this the expected behavior under 7.1? I think it can be. (We assumed this behavior a year ago.) Sometimes we need transaction time in the beginning of a transaction. We can get it with a SELECT. Because the transaction can begin only with an update statement, we must do a workaround - until now. > I actually found the problem because our code does a number > of queries against the database, and then issues a > VACUUM ANALYZE. This stopped working with the 7.1 beta 3. What the SQL specs say? Could this behavior an option in the driver? Regards, Tibor -- Tibor Laszlo ltibor@mail.tiszanet.hu