pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Luc ROLLAND <luc@rolland-fr.com>
To: ODBC PostgreSQL <pgsql-odbc@postgresql.org>
Subject: Re: OIDS column required with ODBC ?
Date: Tue, 21 Sep 2004 12:05:32 +0200
Message-ID: <006301c49fc2$88a62c40$0a00a8c0@lrp43008> (raw)
References: <6C0CF58A187DA5479245E0830AF84F42142B95@poweredge.attiksystem.ch>

I use the Open Method from ADO in MS Visual-Basic 6.0 ...
Is there anybody who can explain to me why I can't open tables without OIDS 
?

Thanks.

Luc

----- Original Message ----- 
From: "Philippe Lang" <philippe.lang@attiksystem.ch>
To: "Luc ROLLAND" <luc@rolland-fr.com>; "ODBC PostgreSQL" 
<pgsql-odbc@postgresql.org>
Sent: Tuesday, September 21, 2004 11:57 AM
Subject: Re: [ODBC] OIDS column required with ODBC ?


Hello,

No, you don't need to use OIDs with the ODBC driver. I alway create tables 
WITHOUT OIDS, and I can access them through ODBC with MS Access without any 
problem.

But I'm sorry I cannot tell you the reason of your error message...

Hope it will help you anyway.

Philippe

________________________________

De : pgsql-odbc-owner@postgresql.org 
[mailto:pgsql-odbc-owner@postgresql.org] De la part de Luc ROLLAND
Envoyé : mardi, 21. septembre 2004 11:48
À : ODBC PostgreSQL
Objet : [ODBC] OIDS column required with ODBC ?



Hello !

I want to open a recordset using ODBC (07_03_0200) in MS-VB6 (SP6) on a PG 
table (7.4.3) created WITHOUT OIDS.
I receive an error message  : 'Colum ?id? doesn't exist !' when I use the 
method Open ?
The same code works if the table has an OID column.

Would pgsqlODBC require an OIDS column on all the tables ?
I don't find setting for that in the ODBC driver...

Luc



---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org




view thread (9+ messages)  latest in thread

Message-ID: <006301c49fc2$88a62c40$0a00a8c0@lrp43008>
Permalink:  ../006301c49fc2$88a62c40$0a00a8c0@lrp43008/
Also on:    postgresql.org/message-id/006301c49fc2$88a62c40$0a00a8c0@lrp43008

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: luc@rolland-fr.com
  Subject: Re: OIDS column required with ODBC ?
  In-Reply-To: <006301c49fc2$88a62c40$0a00a8c0@lrp43008>
  References: <6C0CF58A187DA5479245E0830AF84F42142B95@poweredge.attiksystem.ch> <006301c49fc2$88a62c40$0a00a8c0@lrp43008>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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