pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kirk Friggstad <friggstadk@ironsolutions.com>
To: 'Dave Page' <dpage@vale-housing.co.uk>
To: pgsql-odbc@postgresql.org
Subject: Re: ODBC driver and linked server in MSSQL 2k
Date: Wed, 10 Aug 2005 08:58:38 -0600
Message-ID: <20050810145839.AB5B552B09@svr1.postgresql.org> (raw)
In-Reply-To: <001a01c59cc3$c807b5ef$6a01a8c0@valehousing.co.uk>

Hi Dave: 

I can definitely wait for the next snapshot - this is a long-term project on
our end (as in, we've been toying with the idea for a few months already and
now found a bit of time to actually try it), so it's not too
time-critical... yet... :-)

If you happen to have an updated DLL, I wouldn't mind playing with it, but
please don't go out of your way on my account.

Kirk

-----Original Message-----
From: Dave Page [mailto:dpage@vale-housing.co.uk] 
Sent: Tuesday, August 09, 2005 3:22 AM
To: friggstadk@ironsolutions.com; pgsql-odbc@postgresql.org
Subject: RE: [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


---------------------------(end of broadcast)---------------------------
TIP 6: explain analyze is your friend




view thread (4+ messages)  latest in thread

Message-ID: <20050810145839.AB5B552B09@svr1.postgresql.org>
Permalink:  ../20050810145839.AB5B552B09@svr1.postgresql.org/
Also on:    postgresql.org/message-id/20050810145839.AB5B552B09@svr1.postgresql.org

 · 

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: friggstadk@ironsolutions.com, dpage@vale-housing.co.uk
  Subject: Re: ODBC driver and linked server in MSSQL 2k
  In-Reply-To: <20050810145839.AB5B552B09@svr1.postgresql.org>
  References: <001a01c59cc3$c807b5ef$6a01a8c0@valehousing.co.uk> <20050810145839.AB5B552B09@svr1.postgresql.org>

* 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