Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 147F0475A1E for ; Tue, 5 Nov 2002 19:10:51 -0500 (EST) Received: from sd.tpf.co.jp (sd.tpf.co.jp [210.161.239.34]) by postgresql.org (Postfix) with SMTP id AD71E4759F2 for ; Tue, 5 Nov 2002 19:10:49 -0500 (EST) Received: (qmail 32285 invoked from network); 6 Nov 2002 00:10:51 -0000 Received: from unknown (HELO viscomail.tpf.co.jp) (100.0.0.108) by sd2.tpf-fw-c.co.jp with SMTP; 6 Nov 2002 00:10:51 -0000 Received: from tpf.co.jp (3d_note1 [126.0.1.61]) by viscomail.tpf.co.jp (8.8.8+Sun/8.8.8) with ESMTP id JAA22764; Wed, 6 Nov 2002 09:10:50 +0900 (JST) Message-ID: <3DC85E59.2CEFA1A2@tpf.co.jp> Date: Wed, 06 Nov 2002 09:12:09 +0900 From: Hiroshi Inoue X-Mailer: Mozilla 4.73 [ja] (Windows NT 5.0; U) X-Accept-Language: ja MIME-Version: 1.0 To: Jim Hines Cc: Dave Page , Andrea , pgsql-odbc@postgresql.org Subject: Re: CTID: Anyway to lock it? References: <03AF4E498C591348A42FC93DEA9661B8128B82@mail.vale-housing.co.uk> <3DC797B1.761EB5D2@tpf.co.jp> <200211051035.22534.jhines@wdtv.com> Content-Type: text/plain; charset=iso-2022-jp Content-Transfer-Encoding: 7bit X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200211/25 X-Sequence-Number: 2202 Jim Hines wrote: > > > > Hmm, yes - it appears to be in inner_process_tokens(QueryParse *qp, > > > QueryBuild *qb) in convert.c. I don't know what options might affect > > > that though I'm afraid - do you know Hiroshi? > > > > The driver uses CTID and OID to implement updatable cursors. > > Please turn off the *Updatable cursors* DSN option if you > > don't like the behavior. > > > > regards, > > Hiroshi Inoue > > http://w2422.nsk.ne.jp/~inoue/ > > If I turn off the cursors, the Lyric software complains about an Invalid > Cursor state. If the software requires keyset-driven/static cursors with optimistic concurrency control, you may have to turn on the option or need the help of e.g. ODBC cursor library. regards, Hiroshi Inoue http://w2422.nsk.ne.jp/~inoue/