Received: from bologna.nettuno.it (bologna.nettuno.it [193.43.2.1]) by hub.org (8.9.3/8.9.3) with ESMTP id IAA01195 for ; Wed, 30 Jun 1999 08:35:04 -0400 (EDT) (envelope-from jose@sferacarta.com) Received: from proxy.sferacarta.com (mail@sfcabop1.nettuno.it [193.207.10.213]) by bologna.nettuno.it (8.8.6/8.8.8/NETTuno 3.2) with ESMTP id OAA02577; Wed, 30 Jun 1999 14:34:52 +0200 (MDT) Received: from rosso.sferacarta.com (sferacarta.com) [10.20.30.5] by proxy.sferacarta.com with esmtp (Exim 2.05 #1 (Debian)) id 10zLUL-0007i9-00; Wed, 30 Jun 1999 14:37:25 +0000 Message-ID: <377A0E2A.2E2611AB@sferacarta.com> Date: Wed, 30 Jun 1999 14:31:38 +0200 From: =?iso-8859-1?Q?Jos=E9?= Soares X-Mailer: Mozilla 4.5 [it] (Win95; I) X-Accept-Language: it MIME-Version: 1.0 To: Dave Page CC: "'pgsql-interfaces@postgresql.org'" Subject: Re: [INTERFACES] ODBC: OID column in views References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit I have a problem similar about RowVersioning. If I link a view with RowVersioning checked M$Access show the following message, when I try to open the table: -------------------------------------------------------------------------- Error while executing the query. ERROR: system column xmin not available - table_name is a view (#1) -------------------------------------------------------------------------- Dave Page ha scritto: > I've recently come across a couple of minor problems(?) in the ODBC driver: > > 1) When querying a view eg: > > SELECT * FROM pg_tables; > > the driver will always attempt (and fail) to retrieve the oid column thus > returning an ODBC call failed error. This occurs whether the 'Show OID > Column' is selected or not. I can see the obvious overhead in checking > whether or not a query is on a view or table - is the current behaviour the > best solution or is there another way around this (other than specifying > column names in queries)? > > 2) Under OID options, if you uncheck 'Show Column', the 'Fake Index' option > will correctly be greyed out. If it is ticked when it is greyed though, the > driver will still connect with: showoid='0',fakeoidindex='1'. Can this cause > any problems? > > Regards, > > Dave. -- ______________________________________________________________ PostgreSQL 6.5.0 on i586-pc-linux-gnu, compiled by gcc 2.7.2.3 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Jose'