Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id D199BB5DD14 for ; Tue, 12 Jul 2011 07:03:49 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 67939-07 for ; Tue, 12 Jul 2011 10:03:43 +0000 (UTC) X-Greylist: delayed 00:37:01.658232 by SQLgrey-1.7.6 Received: from magnesium.nirgal.com (magnesium.nirgal.com [88.191.38.228]) by mail.postgresql.org (Postfix) with ESMTP id 36094B5DCC9 for ; Tue, 12 Jul 2011 07:03:43 -0300 (ADT) Received: from [10.238.0.5] (helo=pcp100.localnet) by magnesium.nirgal.com with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from ) id 1QgZEj-0007uZ-6l; Tue, 12 Jul 2011 11:26:38 +0200 From: Nirgal =?utf-8?q?Vourg=C3=A8re?= To: Hiroshi Saito Date: Tue, 12 Jul 2011 14:56:27 +0530 User-Agent: KMail/1.13.5 (Linux/2.6.32-5-686; KDE/4.4.5; i686; ; ) References: <4E17246D.9090703@winpg.jp> In-Reply-To: <4E17246D.9090703@winpg.jp> Cc: pgsql-odbc@postgresql.org MIME-Version: 1.0 Message-Id: <201107121456.30294.jvourger@greenpeace.org> X-SA-Exim-Connect-IP: 10.238.0.5 X-SA-Exim-Rcpt-To: hiroshi@winpg.jp, pgsql-odbc@postgresql.org X-SA-Exim-Mail-From: jvourger@greenpeace.org Subject: Re: psqlODBC 09.00.0310 and oids Content-Type: multipart/signed; boundary="nextPart2494906.zJkXyyK9Cr"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit X-SA-Exim-Version: 4.2.1 (built Mon, 22 Mar 2010 06:51:10 +0000) X-SA-Exim-Scanned: Yes (on magnesium.nirgal.com) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.9 tagged_above=-10 required=5 tests=BAYES_00=-1.9 X-Spam-Level: X-Archive-Number: 201107/8 X-Sequence-Number: 10685 --nextPart2494906.zJkXyyK9Cr Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable 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 postg= res (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 o= id). 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 conn= ection with that: ODBC;CA=3Dr;A6=3D;A7=3D100;A8=3D4096;B0=3D255;B1=3D8190;B9=3D0;BI=3D0;C2=3D= dd_;CX=3D1b102bb;A1=3D8.4;DSN=3Dindia;SERVER=3D10.10.10.146;DATABASE=3Dindi= a;PORT=3D5432;UID=3Djvourger;PASSWORD=3Dxxxxxxxx (This is CX with BIT_SHOWOIDCOLUMN) But when open these tables with a primary key on oid, I don't see the oid c= olumn and I can't append data. I also tried CX=3D1d102bb (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 t= o have these linked tables work with legacy access modules? =2D-=20 =2D - Nirgal Vourg=C3=A8re =E2=98=AE GP France =E2=98=AE tel:+33.180969724 =2D xmpp:nirgal@nirgal.com =E2=98=AE gpg 0x4760b41db292ab13 =E2=98=AE sky= pe:nirgal_v nirgal.com:qotd =E2=98=AE Be the change you want to see in the world --= Gandhi --nextPart2494906.zJkXyyK9Cr Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEABECAAYFAk4cE0YACgkQR2C0HbKSqxNkYQCeJU/9iqqOQPo9x6mF3TJRnNAE Sl0AoLfI7hLC/MwRJlj6VNgZFZ3ACi/U =vq6O -----END PGP SIGNATURE----- --nextPart2494906.zJkXyyK9Cr--