Received: from henry.newn.cam.ac.uk (henry.newn.cam.ac.uk [131.111.204.130]) by hub.org (8.10.1/8.10.1) with ESMTP id e92Fa4P52688 for ; Mon, 2 Oct 2000 11:36:04 -0400 (EDT) Received: from [131.111.204.180] (helo=quartz.newn.cam.ac.uk) by henry.newn.cam.ac.uk with esmtp (Exim 3.13 #1) id 13g7dU-0000WK-00 for pgsql-interfaces@postgresql.org; Mon, 02 Oct 2000 16:36:12 +0100 Received: from prlw1 by quartz.newn.cam.ac.uk with local (Exim 3.13 #1) id 13g7dK-00068X-00 for pgsql-interfaces@postgresql.org; Mon, 02 Oct 2000 16:36:02 +0100 Date: Mon, 2 Oct 2000 16:36:02 +0100 From: Patrick Welche To: pgsql-interfaces@postgresql.org Subject: PsqlODBC broken due to int4out(usesysid) Message-ID: <20001002163602.H22505@quartz.newn.cam.ac.uk> Reply-To: prlw1@cam.ac.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i X-Archive-Number: 200010/2 The aim is to import a table from postgresql into M$ access using PsqlODBC v06-50-0000. This is with PostgreSQL 7.1devel on i386-unknown-netbsdelf1.5E, compiled by GCC egcs-1.1.2 source code of 14 August. Problem: the pointy clicky box appears with no tables to select for import as the driver sends: select relname,usename,relhasrules from pg_class,pg_user where relkind = 'r' and relname !~'^xinv[0-9]+' and int4out(usesysid)= int4out(relowner) order by relname; Reason: AFAICT it really doesn't want "int4out".. select relname,usename,relhasrules from pg_class,pg_user where relkind = 'r' and relname !~'^xinv[0-9]+' and usesysid = relowner order by relname; works fine.. Can someone fix please? Cheers, Patrick