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 D9C2052824 for ; Tue, 9 Aug 2005 06:21:58 -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 81324-03 for ; Tue, 9 Aug 2005 09:21:52 +0000 (GMT) Received: from anchor-post-33.mail.demon.net (anchor-post-33.mail.demon.net [194.217.242.91]) by svr1.postgresql.org (Postfix) with ESMTP id A597652835 for ; Tue, 9 Aug 2005 06:21:52 -0300 (ADT) Received: from mailgate.vale-housing.co.uk ([194.217.48.34] helo=vale-housing.co.uk) by anchor-post-33.mail.demon.net with esmtp (Exim 4.42) id 1E2QIz-000KZe-BZ for pgsql-odbc@postgresql.org; Tue, 09 Aug 2005 09:21:53 +0000 Received: from 192.168.1.106 ([192.168.1.106]) by ratbert.vale-housing.co.uk ([192.168.1.106]) with Microsoft Exchange Server HTTP-DAV ; Tue, 9 Aug 2005 09:21:53 +0000 From: "Dave Page" To: , Subject: Re: ODBC driver and linked server in MSSQL 2k Message-ID: <001a01c59cc3$c807b5ef$6a01a8c0@valehousing.co.uk> Date: Tue, 9 Aug 2005 10:21:38 +0100 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Thread-Topic: [ODBC] ODBC driver and linked server in MSSQL 2k Thread-Index: AcWcMpnwhlrLzBbSTWy3TxUVh1v1xQAkS4XK X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=1.557 tagged_above=0 required=5 tests=AWL, MSGID_DOLLARS X-Spam-Level: * X-Archive-Number: 200508/78 X-Sequence-Number: 5717 -----Original Message----- From: "Kirk Friggstad" Sent: 08/08/05 17:07:55 To: "pgsql-odbc@postgresql.org" Subject: [ODBC] ODBC driver and linked server in MSSQL 2k > "Invalid use of schema and/or catalog for=20 > 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 found the driver was incorrectly reporting catalog support on Friday = and committed a fix for it. Can you wait for the next snapshot, or do you want an updated dll to = test? (might not be until Thursday though). Regards, Dave -----Unmodified Original Message----- 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 ---------------------------(end of broadcast)--------------------------- TIP 6: explain analyze is your friend