Re: error message "column "oid" doesn't exist"

From: "Erika Marlow" <Erika(dot)Marlow(at)nisc(dot)coop>
To: <pgsql-odbc(at)postgresql(dot)org>
Subject: Re: error message "column "oid" doesn't exist"
Date: 2007-01-05 15:05:02
Message-ID: 8388742B98C6BE479282C543CD000EE003C8FCD9@ndes1.nisc.lan
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

Hmm. Well, I am opening the tables for editing. All of the tables have unique primary keys that can be referenced. Is there a flag or something I can set to prevent it from looking for oid?

Thanks,
Erika

________________________________

From: Oberle, Martin [mailto:martin(dot)oberle(at)winntec(dot)de]
Sent: Wednesday, January 03, 2007 1:36 PM
To: Erika Marlow
Subject: AW: [ODBC] error message "column "oid" doesn't exist"

As far as I know the odbc driver uses the oid to identify the records when updating records.
The driver adds the column oid to the query when the driver thinks that records mjight be updated
in the future. The error should not occure whe you open the table "readonly".

good luck

martin

-----Ursprüngliche Nachricht-----
Von: pgsql-odbc-owner(at)postgresql(dot)org [mailto:pgsql-odbc-owner(at)postgresql(dot)org]Im Auftrag von Erika Marlow
Gesendet: Dienstag, 2. Januar 2007 19:00
An: pgsql-odbc(at)postgresql(dot)org
Betreff: Re: [ODBC] error message "column "oid" doesn't exist"


We are recieving the error message "column "oid" doesn't exist" from a series of ODBC calls via ADO in a Visual Basic application. The SQL statements are all "SELECT * FROM <table>" where <table> refers to several different tables. No tables were created with OIDs, because we don't use them. So, the statement in the error is true, but we've been using the same application without issues for quite some time.

We're still using the 8.01.0200 drivers, UNICODE in this particular case, and if necessary can upgrade (but it's a painful process).

Any suggestions for resolving the issue without updating to the latest drivers?

If updating is the only option, do the new installation packages for the driver take care of any ANSI/UNICODE differences? What are the rules for moving from one to the other?

Thanks,

<http://www.nisc.coop/> Erika Marlow___________________
Senior Software Specialist
National Information Solutions Cooperative
One Innovation Circle
Lake St. Louis, MO 63367
**Email: erika(dot)marlow(at)nisc(dot)coop <mailto:erika(dot)marlow(at)nisc(dot)coop>
**Phone: 866.WWW.NISC (866.999.6472)
**Direct: 636.755.2519

Responses

Browse pgsql-odbc by date

  From Date Subject
Next Message greg.campbell 2007-01-05 17:11:22 Re: error message "column "oid" doesn't exist"
Previous Message Hiroshi Inoue 2007-01-05 00:16:21 Re: Slow query : join between jet and postgresql table