X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 7C8B4DA283 for ; Wed, 19 Oct 2005 12:52:42 -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 96918-10 for ; Wed, 19 Oct 2005 15:52:40 +0000 (GMT) Received: from sapo.pt (relay6.ptmail.sapo.pt [212.55.154.26]) by svr1.postgresql.org (Postfix) with SMTP id 61795DA2A8 for ; Wed, 19 Oct 2005 12:52:38 -0300 (ADT) Received: (qmail 10192 invoked from network); 19 Oct 2005 15:52:36 -0000 Received: from unknown (HELO sapo.pt) (10.134.35.205) by relay6 with SMTP; 19 Oct 2005 15:52:36 -0000 Received: (qmail 9563 invoked from network); 19 Oct 2005 15:52:31 -0000 X-AntiVirus: PTMail-AV 0.3.87 X-Virus-Status: Clean (1.85211 seconds) Received: from unknown (HELO Sergyo) (s5@sapo.pt@[62.48.182.45]) (envelope-sender ) by mta10 (qmail-ldap-1.03) with SMTP for ; 19 Oct 2005 15:52:31 -0000 From: =?iso-8859-1?Q?S=E9rgio?= To: Subject: Re: ODBC driver and linked server in MSSQL 2k Date: Wed, 19 Oct 2005 16:52:30 +0100 Message-ID: <000101c5d4c5$1cf1c660$da88700a@ptin.corpPT.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0002_01C5D4CD.7EB62E60" X-Mailer: Microsoft Office Outlook 11 Thread-Index: AcXUxRx0KCRZKi4tTkiadWx7Qoo6jg== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=1.828 required=5 tests=[DNS_FROM_RFC_ABUSE=0.374, DNS_FROM_RFC_POST=1.376, FORGED_RCVD_HELO=0.05, HTML_60_70=0.027, HTML_MESSAGE=0.001] X-Spam-Level: * X-Archive-Number: 200510/109 X-Sequence-Number: 6211 This is a multi-part message in MIME format. ------=_NextPart_000_0002_01C5D4CD.7EB62E60 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi, The fix for this problem has already been released? I've tested with = latest snapshot (8.1.0.5), and I'm getting the same error. =20 Thanks, S=E9rgio=20 * From: "Dave Page" uk>=20 * To: com>, postgresql ( dot ) org>=20 * Subject: Re: ODBC driver and linked server in MSSQL 2k=20 * Date: Tue, 9 Aug 2005 10:21:38 +0100=20 _____ =20 -----Original Message----- From: "Kirk Friggstad" Sent: 08/08/05 17:07:55 To: "pgsql-odbc ( at ) postgresql ( dot ) 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 =20 =20 S=E9rgio Ramalho Tel: +351 22 605 68 24 Fax: +351 22 605 68 10 Email: ASergio@ptinovacao.pt=20 PT Inova=E7=E3o, SA - P=F3lo Porto Rua Tenente Valadim 431, 7=BA Piso 4100-479 Porto =20 =20 ------=_NextPart_000_0002_01C5D4CD.7EB62E60 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi,
The fix for this = problem has=20 already been released? I've tested with latest snapshot (8.1.0.5), and = I'm=20 getting the same error.
 
Thanks,
    S=E9rgio 
  • From: "Dave Page" <dpage ( at ) vale-housing ( dot ) = co ( dot )=20 uk>
  • To: <friggstadk ( at ) = ironsolutions ( dot )=20 com>, <pgsql-odbc ( at )=20 postgresql ( dot ) org>
  • Subject: Re: ODBC driver = and linked=20 server in MSSQL 2k
  • Date: Tue, 9 Aug 2005 10:21:38 +0100 =

-----Original Message-----
From: "Kirk Friggstad"<friggstadk ( at ) ironsolutions ( dot ) =
com>
Sent: 08/08/05 17:07:55
To: "pgsql-odbc ( at ) postgresql ( dot ) org"<pgsql-odbc ( at ) =
postgresql ( dot ) 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
 

           &nbs= p;            = ;            =             &= nbsp;           &n= bsp;           &nb= sp;        =20

S=E9rgio=20 Ramalho

Tel:=20 +351 22 605 68=20 24=20        = Fax:=20 +351 22 605 68 10

Email:=20 ASergio@ptinovacao.pt =

PT=20 Inova=E7=E3o, SA - P=F3lo Porto

Rua=20 Tenente Valadim 431, 7=BA Piso        =20 4100-479 Porto

           &nbs= p;            = ;            =             &= nbsp;           &n= bsp;           &nb= sp;        =20

 
------=_NextPart_000_0002_01C5D4CD.7EB62E60--