X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id EB728329D3E for ; Tue, 21 Sep 2004 19:41:42 +0100 (BST) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 34883-10 for ; Tue, 21 Sep 2004 18:41:32 +0000 (GMT) Received: from teheran.magic.fr (teheran.magic.fr [62.210.158.46]) by svr1.postgresql.org (Postfix) with ESMTP id 6C099329D3C for ; Tue, 21 Sep 2004 19:41:32 +0100 (BST) Received: from lrp43008 (ppp-52.net-555.magic.fr [62.210.255.52]) by teheran.magic.fr (8.11.6/8.11.2) with SMTP id i8LIf2211319 for ; Tue, 21 Sep 2004 20:41:02 +0200 (CEST) Message-ID: <002401c4a00a$9b610380$0a00a8c0@lrp43008> Reply-To: =?iso-8859-1?Q?Secr=E9tariat?= From: =?iso-8859-1?Q?Secr=E9tariat?= To: "ODBC PostgreSQL" Subject: Re: OIDS column required with ODBC ? Date: Tue, 21 Sep 2004 20:41:27 +0200 Organization: Etablissements ROLLAND MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=response Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200409/59 X-Sequence-Number: 4434 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" > To: "Luc ROLLAND" ; "ODBC PostgreSQL" > > 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 >