pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Sérgio <s5@sapo.pt>
To: pgsql-odbc@postgresql.org
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> (raw)

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.
 
Thanks,
    Sérgio 

*	From: "Dave Page" <dpage ( at ) vale-housing ( dot ) co ( dot )
<mailto:dpage@DOMAIN.HIDDEN> uk> 

*	To: <friggstadk ( at ) ironsolutions ( dot )
<mailto:friggstadk@DOMAIN.HIDDEN> com>, <pgsql-odbc ( at )
<mailto:pgsql-odbc@DOMAIN.HIDDEN> postgresql ( dot ) org> 

*	Subject: Re: ODBC driver and linked 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 

> 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


 

 


Sérgio Ramalho

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

Email: ASergio@ptinovacao.pt 

PT Inovação, SA - Pólo Porto

Rua Tenente Valadim 431, 7º Piso         4100-479 Porto

 


 

view thread (4+ messages)

Message-ID: <000101c5d4c5$1cf1c660$da88700a@ptin.corpPT.com>
Permalink:  ../000101c5d4c5$1cf1c660$da88700a@ptin.corpPT.com/
Also on:    postgresql.org/message-id/000101c5d4c5$1cf1c660$da88700a@ptin.corpPT.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: s5@sapo.pt
  Subject: Re: ODBC driver and linked server in MSSQL 2k
  In-Reply-To: <000101c5d4c5$1cf1c660$da88700a@ptin.corpPT.com>
  References: <000101c5d4c5$1cf1c660$da88700a@ptin.corpPT.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox