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 6199352DDD for ; Mon, 8 Aug 2005 13:05:48 -0300 (ADT) 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 34093-07 for ; Mon, 8 Aug 2005 16:05:39 +0000 (GMT) Received: from svr2.postgresql.org (svr2.postgresql.org [65.19.161.25]) by svr1.postgresql.org (Postfix) with ESMTP id DEA0E52A43 for ; Mon, 8 Aug 2005 13:05:38 -0300 (ADT) Received: from mx2.ironsolutions.com (unknown [69.27.111.70]) by svr2.postgresql.org (Postfix) with ESMTP id EC7ACF0AC7 for ; Mon, 8 Aug 2005 17:01:21 +0100 (BST) X-AV-Scanned: yes ed98de138e4b12b6a681b1a13854bd18 X-AuthUser: friggstadk@ironsolutions.com Received: from friggstad ([216.174.156.227]:4858) by ironsolutions.com with [XMail 1.21 ESMTP Server] id for from ; Mon, 8 Aug 2005 10:02:40 -0600 From: "Kirk Friggstad" To: Subject: ODBC driver and linked server in MSSQL 2k Date: Mon, 8 Aug 2005 10:02:39 -0600 Organization: IRON Solutions MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.6353 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Thread-Index: AcWcMpnwhlrLzBbSTWy3TxUVh1v1xQ== Message-Id: <20050808160121.EC7ACF0AC7@svr2.postgresql.org> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests= X-Spam-Level: X-Archive-Number: 200508/76 X-Sequence-Number: 5715 Hi all: I've been trying to get our MS SQL Server 2000 to interoperate with our PostgreSQL server (7.4.3 on RedHat 9, backend for Lyris LM 8.0) as a linked server via the ODBC driver. When viewing it through Enterprise Manager, it is able to display all the tables and views, but any attempt to access the tables via SQL (on the MSSQL 2k server) gives an error message: "Invalid use of schema and/or catalog for OLE DB provider 'MSDASQL'. A four-part name was supplied, but the provider does not expose the necessary interfaces to use a catalog and/or schema." I've done a bunch of googling the past couple days, and digging through the mailing list archives, and while I've found others who have encountered the same problem that I have, I haven't found anyone posting that they've found a solution. Has anyone on this list made a working linked server connection from MSSQL 2k to PostgreSQL using the official ODBC driver? Thanks Kirk