Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id C3A7DB5DCC9 for ; Wed, 13 Jul 2011 10:28:14 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 15277-05 for ; Wed, 13 Jul 2011 13:28:08 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from winpg.jp (winpg.jp [182.48.52.43]) by mail.postgresql.org (Postfix) with ESMTP id 5D2EFB5DCC4 for ; Wed, 13 Jul 2011 10:28:08 -0300 (ADT) Received: from [192.168.202.5] (p3239-ipad212funabasi.chiba.ocn.ne.jp [58.91.167.239]) by winpg.jp (Postfix) with ESMTPA id D6C2424A987; Wed, 13 Jul 2011 22:28:05 +0900 (JST) Message-ID: <4E1D9D67.704@winpg.jp> Date: Wed, 13 Jul 2011 22:28:07 +0900 From: Hiroshi Saito User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; ja; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: =?UTF-8?B?TmlyZ2FsIFZvdXJnw6hyZQ==?= CC: pgsql-odbc@postgresql.org Subject: Re: psqlODBC 09.00.0310 and oids References: <4E17246D.9090703@winpg.jp> <201107121456.30294.jvourger@greenpeace.org> In-Reply-To: <201107121456.30294.jvourger@greenpeace.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-10 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201107/9 X-Sequence-Number: 10686 Hi Nirgal-san. Sorry very late reaction. Umm, I can't explore your problem.... Office 97 is very old which does not reach it for me. although I use 2003, I don't look at a problem. For example, http://winpg.jp/~saito/psqlODBC/check/FakeIndex.png Regards, Hiroshi Saito (2011/07/12 18:26), Nirgal Vourgère wrote: > On Friday 08 July 2011 21:08:21 Hiroshi Saito wrote: >> Changes and updates in the new release include: >> 5.) Handle *with or without oids* correctly. > > Thank you very much. > However, the behaviour is still no exactly what I expected: > > I have a legacy excel 97 database, poorly designed, with about 100 tables, 1000 queries, complex forms... You get the picture. > I used a recent mdbtools snapshot from git to convert the database to postgres (index, default values, constaints, this rocks!). > However, I had a lot of tables without a primary keys. > What I did is adding oids for these tables, and created a primary key (on oid). > > Now, I still have some legacy code from access I'd like to use. > I changed the access tables to psql linked tables, and I'm opening the connection with that: > ODBC;CA=r;A6=;A7=100;A8=4096;B0=255;B1=8190;B9=0;BI=0;C2=dd_;CX=1b102bb;A1=8.4;DSN=india;SERVER=10.10.10.146;DATABASE=india;PORT=5432;UID=jvourger;PASSWORD=xxxxxxxx > (This is CX with BIT_SHOWOIDCOLUMN) > But when open these tables with a primary key on oid, I don't see the oid column and I can't append data. > > I also tried CX=1d102bb (BIT_FAKEOIDINDEX). Same results. > > Does anyone has any idea about what is going on? > Is that an excel problem? Or is there some change I could make in psqlodc to have these linked tables work with legacy access modules? >