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

Поиск
Список
Период
Сортировка
От Erika Marlow
Тема Re: error message "column "oid" doesn't exist"
Дата
Msg-id 8388742B98C6BE479282C543CD000EE003C8FCD9@ndes1.nisc.lan
обсуждение исходный текст
Ответы Re: error message "column "oid" doesn't exist"
Список 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.oberle@winntec.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@postgresql.org [mailto:pgsql-odbc-owner@postgresql.org]Im Auftrag von Erika Marlow
Gesendet: Dienstag, 2. Januar 2007 19:00
An: pgsql-odbc@postgresql.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,
 
Erika Marlow___________________
Senior Software Specialist
National Information Solutions Cooperative
One Innovation Circle
Lake St. Louis, MO 63367
Email: erika.marlow@nisc.coop
Phone: 866.WWW.NISC (866.999.6472)
Direct: 636.755.2519
 
Вложения

В списке pgsql-odbc по дате отправления:

Предыдущее
От: Hiroshi Inoue
Дата:
Сообщение: Re: Slow query : join between jet and postgresql table
Следующее
От: greg.campbell@us.michelin.com
Дата:
Сообщение: Re: error message "column "oid" doesn't exist"