X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id DA635D1C517 for ; Sun, 15 Feb 2004 01:18:44 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 83411-02 for ; Sat, 14 Feb 2004 21:18:43 -0400 (AST) Received: from mxb.usadatanet.net (mxb.usadatanet.net [66.218.0.24]) by svr1.postgresql.org (Postfix) with ESMTP id CCC1AD1B8CE for ; Sat, 14 Feb 2004 21:18:41 -0400 (AST) Received: from localhost (localhost [127.0.0.1]) by mxb.usadatanet.net (Postfix) with ESMTP id B05B5AEC7; Sat, 14 Feb 2004 20:18:54 -0500 (EST) Received: from mxb.usadatanet.net ([127.0.0.1]) by localhost (mxb [127.0.0.1]) (amavisd-new, port 10024) with SMTP id 01828-05; Sat, 14 Feb 2004 20:18:54 -0500 (EST) Received: from director6.usadatanet.net (director6.usadatanet.net [66.218.0.7]) by mxb.usadatanet.net (Postfix) with ESMTP id 6BADBAEBE; Sat, 14 Feb 2004 20:18:54 -0500 (EST) Received: from usadatanet.net (dial-69-67-231-92.usadatanet.net [69.67.231.92]) by director6.usadatanet.net (Postfix) with ESMTP id 8160A2B69B; Sat, 14 Feb 2004 20:17:30 -0500 (EST) Message-ID: <402EC8FB.8040109@usadatanet.net> Date: Sat, 14 Feb 2004 20:18:51 -0500 From: Matthew and Karen Brown Reply-To: thebrowns@ieee.org User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: en-us, en MIME-Version: 1.0 To: pgsql-odbc@postgresql.org Subject: column "oid" does not exist Content-Type: multipart/mixed; boundary="------------020401020009090208050205" X-Virus-Scanned: by amavisd-new at usadatanet.net X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200402/36 X-Sequence-Number: 3789 This is a multi-part message in MIME format. --------------020401020009090208050205 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit I have been searching for a couple of hours now and cannot seem to find a resolution to my problem other than to recreate my tables with OIDs turned on. So hear goes... I get the error message in the subject whenever I attempt to use an application that supports ODBC to access a user table in my database. When I create a table using "WITH OIDS", I have no problems viewing the table with any application. But when I use "WITHOUT OIDS", the only two applications that I have found that will work are MSQuery and MSAccess. (I am trying to use Avery DesignPro and OpenOffice without success.) The things that I have tried (beside pounding my head against a wall) are just about all of the options in the configuration dialog and, of course, different applications. My use of PostgreSQL here is dependent upon my being able to get ODBC to work reliably. Why does it even care about selecting the OID field? All of the notes I have seen seem to indicate that its necessity is largely gone and certainly not relevant for anything that I am doing. Why would some apps be able to run a simple select query without generating this error while others cannot? I assume that the difference is in the way the ODBC calls are made by the client app. If this is so, why does not the driver handle this circumstance more elegantly? In a possibly related issue, when I select from a view using these same apps, I get the error "colum ctid does not exist". Is this the same issue? I would like to follow the suggestions related to not using OIDs, but this one has me stumped. Grateful for any help, -- Matt --------------020401020009090208050205 Content-Type: text/x-vcard; charset=utf8; name="browns.vcf" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="browns.vcf" begin:vcard fn:Matthew Brown n:Brown;Matthew org:Grace Fellowship Church of the Lehigh Valley adr:;;21 North Main Street;Coopersburg;PA;18036;USA email;internet:mattb@gracelehigh.org tel;work:(610) 282-8066 tel;fax:(610) 282-5708 x-mozilla-html:TRUE url:http://www.gracelehigh.org version:2.1 end:vcard --------------020401020009090208050205--