pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Re: psqlODBC 09.00.0310 and oids
2+ messages / 2 participants
[nested] [flat]

* Re: psqlODBC 09.00.0310 and oids
@ 2011-07-12 09:26 Nirgal Vourgère <jvourger@greenpeace.org>
  2011-07-13 13:28 ` Re: psqlODBC 09.00.0310 and oids Hiroshi Saito <hiroshi@winpg.jp>
  0 siblings, 1 reply; 2+ messages in thread

From: Nirgal Vourgère @ 2011-07-12 09:26 UTC (permalink / raw)
  To: Hiroshi Saito <hiroshi@winpg.jp>; +Cc: pgsql-odbc

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?

-- 
- - Nirgal Vourgère ☮ GP France ☮ tel:+33.180969724
-   xmpp:nirgal@nirgal.com ☮ gpg 0x4760b41db292ab13 ☮ skype:nirgal_v
    nirgal.com:qotd ☮ Be the change you want to see in the world -- Gandhi

Attachments:

  signature.asc (application/pgp-signature, 197B) download

^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: psqlODBC 09.00.0310 and oids
  2011-07-12 09:26 Re: psqlODBC 09.00.0310 and oids Nirgal Vourgère <jvourger@greenpeace.org>
@ 2011-07-13 13:28 ` Hiroshi Saito <hiroshi@winpg.jp>
  0 siblings, 0 replies; 2+ messages in thread

From: Hiroshi Saito @ 2011-07-13 13:28 UTC (permalink / raw)
  To: Nirgal Vourgère <jvourger@greenpeace.org>; +Cc: pgsql-odbc

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?
>




^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2011-07-13 13:28 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2011-07-12 09:26 Re: psqlODBC 09.00.0310 and oids Nirgal Vourgère <jvourger@greenpeace.org>
2011-07-13 13:28 ` Hiroshi Saito <hiroshi@winpg.jp>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox