From bazil_f@persistent.co.in Fri Oct 7 12:10:03 2005 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 8FF6FD9001 for ; Fri, 7 Oct 2005 09:10:03 -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 59888-03 for ; Fri, 7 Oct 2005 12:09:58 +0000 (GMT) Received: from smtp.persistent.co.in (smtp.persistent.co.in [202.54.11.65]) by svr1.postgresql.org (Postfix) with ESMTP id D4D0DDA507 for ; Fri, 7 Oct 2005 09:09:57 -0300 (ADT) Received: from mail.persistent.co.in ([10.12.0.1]) by smtp.persistent.co.in (8.12.9/8.12.9) with ESMTP id j97C8ZeX007568 for ; Fri, 7 Oct 2005 17:40:21 +0530 Received: from ps3350 (ps3350.persistent.co.in [10.77.194.16]) by mail.persistent.co.in (MOS 3.6.4-CR) with ESMTP id AFA76769 (AUTH bazil_f); Fri, 7 Oct 2005 17:35:52 +0530 (IST) Message-Id: <200510071205.AFA76769@persistent.co.in> From: "Bazil Roshan" To: Subject: QUERY : RE: Four art Names Date: Fri, 7 Oct 2005 17:40:27 +0530 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0018_01C5CB66.35977BF0" X-Mailer: Microsoft Office Outlook, Build 11.0.5510 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Thread-Index: AcXLOBo0UC6s9wplQ+KTsR9yWpQefg== X-Brightmail-Tracker: AAAAAQAAAAQ= X-Whitelist: TRUE X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.001 required=5 tests=[HTML_MESSAGE=0.001] X-Spam-Level: X-Archive-Number: 200510/21 X-Sequence-Number: 6123 This is a multi-part message in MIME format. ------=_NextPart_000_0018_01C5CB66.35977BF0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Please Dave can you provide more inputs on why 4 part names cannot be supported on PGSQL. --Rosh ---- Message from Dave The fix was to stop the driver incorrectly reporting we support 4 part names, which we definitely do not, and most likely never will (because of the way a single backend connects to a single database). Regards, Dave -----Original Message----- From: "Austin Foxley" Sent: 27/08/05 07:03:02 To: "pgsql-odbc ( at ) postgresql ( dot ) org" Subject: [ODBC] Four part names I've noticed that the current release of the driver doesn't support four part names. According to some earlier postings earlier this month, it sounds like Dave might have fixed this, but there has been no release since his commit. Can someone confirm whether this indeed has been fixed as I can't get the current CVS to work. I've been able to use MSSQL to create a linked server through this driver, and have been able to do simple selects with OPENQUERY, but to really make this usable, four part name support would be really nice. ------=_NextPart_000_0018_01C5CB66.35977BF0 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Please Dave can you provide more inputs on why 4 part = names cannot be supported on PGSQL.

 

--Rosh

 

 

---- Message from Dave

The fix was to stop the =
driver incorrectly reporting we support 4 part names, which we =
definitely do not, and most likely never will (because of the way a =
single backend connects to a single =
database).
 
Regards, =
Dave
 
-----Original =
Message-----
From: "Austin =
Foxley"<afoxley ( at ) bluetooth ( dot ) =
com>
Sent: 27/08/05 =
07:03:02
To: "pgsql-odbc ( at ) =
postgresql ( dot ) org"<pgsql-odbc ( at ) postgresql ( dot ) =
org>
Subject: [ODBC] Four part =
names
 
I've noticed that the =
current release of the driver doesn't support =
four
part names. According to =
some earlier postings earlier this month, =
it
sounds like Dave might have =
fixed this, but there has been no =
release
since his commit. =
 
 =
 
Can someone confirm whether =
this indeed has been fixed as I can't =
get
the current CVS to =
work.
 
 =
 
I've been able to use MSSQL =
to create a linked server through =
this
driver, and have been able =
to do simple selects with OPENQUERY, but =
to
really make this usable, =
four part name support would be really =
nice.

 

------=_NextPart_000_0018_01C5CB66.35977BF0-- From dpage@vale-housing.co.uk Fri Oct 7 12:37:47 2005 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 1E2D0DA507 for ; Fri, 7 Oct 2005 09:37:47 -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 30847-08 for ; Fri, 7 Oct 2005 12:37:39 +0000 (GMT) Received: from anchor-post-30.mail.demon.net (anchor-post-30.mail.demon.net [194.217.242.88]) by svr1.postgresql.org (Postfix) with ESMTP id CA00DD961C for ; Fri, 7 Oct 2005 09:37:40 -0300 (ADT) Received: from mailgate.vale-housing.co.uk ([194.217.48.34] helo=vale-housing.co.uk) by anchor-post-30.mail.demon.net with esmtp (Exim 4.42) id 1ENrTr-000Prc-1h for pgsql-odbc@postgresql.org; Fri, 07 Oct 2005 12:37:43 +0000 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C5CB3B.E9D579F2" Subject: Re: QUERY : RE: Four art Names Date: Fri, 7 Oct 2005 13:37:42 +0100 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [ODBC] QUERY : RE: Four art Names Thread-Index: AcXLOBo0UC6s9wplQ+KTsR9yWpQefgAA1ZLw From: "Dave Page" To: "Bazil Roshan" , X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.061 required=5 tests=[AWL=0.060, HTML_MESSAGE=0.001] X-Spam-Level: X-Archive-Number: 200510/22 X-Sequence-Number: 6124 This is a multi-part message in MIME format. ------_=_NextPart_001_01C5CB3B.E9D579F2 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable =20 ________________________________ From: pgsql-odbc-owner@postgresql.org [mailto:pgsql-odbc-owner@postgresql.org] On Behalf Of Bazil Roshan Sent: 07 October 2005 13:10 To: pgsql-odbc@postgresql.org Subject: [ODBC] QUERY : RE: Four art Names =09 =09 Please Dave can you provide more inputs on why 4 part names cannot be supported on PGSQL. =20 =20 Because a four pat name is formed from=20 =20 ... =20 and as PostgreSQL doesn't have any concept of catalogs, your can't give them a name (because apps that autogenerate queries might try to use it). According to the Microsoft docs though, you can use=20 =20 ... =20 (note the double dot). If any of their products don't like that though you'll need to take it up with them.=20 =20 Regards Dave ------_=_NextPart_001_01C5CB3B.E9D579F2 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable
 


From: = pgsql-odbc-owner@postgresql.org=20 [mailto:pgsql-odbc-owner@postgresql.org] On Behalf Of Bazil=20 Roshan
Sent: 07 October 2005 13:10
To:=20 pgsql-odbc@postgresql.org
Subject: [ODBC] QUERY : RE: Four = art=20 Names

Please Dave can you = provide more=20 inputs on why 4 part names cannot be supported on=20 PGSQL.

 

 

Because a four pat name is formed=20 from 

 

<DatabaseName>.<CatalogName>.<S= chemaName>.<TableName>

 

and=20 as PostgreSQL doesn't have any concept of catalogs, your can't give them = a name=20 (because apps that autogenerate queries might try to use = it). According to=20 the Microsoft docs though, you can use

 

<DatabaseName>..<SchemaName>.<T= ableName>

 

(note=20 the double dot). If any of their products don't like that though you'll = need to=20 take it up with them.

 

Regards=20 Dave

------_=_NextPart_001_01C5CB3B.E9D579F2-- From dpage@vale-housing.co.uk Mon Oct 10 12:39:31 2005 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 23705D97B9 for ; Mon, 10 Oct 2005 09:39:31 -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 82086-02 for ; Mon, 10 Oct 2005 12:39:25 +0000 (GMT) Received: from anchor-post-35.mail.demon.net (anchor-post-35.mail.demon.net [194.217.242.85]) by svr1.postgresql.org (Postfix) with ESMTP id E1578D93A4 for ; Mon, 10 Oct 2005 09:39:27 -0300 (ADT) Received: from mailgate.vale-housing.co.uk ([194.217.48.34] helo=vale-housing.co.uk) by anchor-post-35.mail.demon.net with esmtp (Exim 4.42) id 1EOwqV-0000kO-Gr for pgsql-odbc@postgresql.org; Mon, 10 Oct 2005 12:33:36 +0000 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: Re: QUERY : RE: Four art Names Date: Mon, 10 Oct 2005 13:39:26 +0100 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [ODBC] QUERY : RE: Four art Names Thread-Index: AcXNlvshrhr6rn/pSZCBzxSbZg1feQAAEbWQ From: "Dave Page" To: "Prasad" Cc: X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.068 required=5 tests=[AWL=0.068] X-Spam-Level: X-Archive-Number: 200510/39 X-Sequence-Number: 6141 Please use the mailing lists and not private email.=20 > -----Original Message----- > From: Prasad [mailto:prasad@ownmail.com]=20 > Sent: 10 October 2005 13:38 > To: Dave Page > Subject: Re: [ODBC] QUERY : RE: Four art Names >=20 > Hi Dave, >=20 > Thank you for the reply.=20 >=20 > As I understand from your reply, Catalog name in the query=20 > will result in an error from Posgres server. =20 >=20 > 1. So is it possible to modify the ODBC driver code so that=20 > when a request comes, the catalog name is discarded and the=20 > request modified so that the server is able to service it. Not without re-implementing the PostgreSQL parser in the driver and then modifying it do do what is required. And that's not gonna happen just to work around a Microsoft bug. > 2. If the answer to above is in the affirmative, would you=20 > please provide pointers for the same. >=20 > 3. Can the OLE DB driver be modified in any way so that Four=20 > Part naming will work?=20 Probably not for the same reasons but you will need to ask someone who knows about the oledb driver that question. Regards, Dave