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 A43B0DB9EA for ; Wed, 23 Nov 2005 12:53:06 -0400 (AST) 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 40570-05 for ; Wed, 23 Nov 2005 16:53:04 +0000 (GMT) X-Greylist: domain auto-whitelisted by SQLgrey- Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.205]) by svr1.postgresql.org (Postfix) with ESMTP id 02397DB9B8 for ; Wed, 23 Nov 2005 12:53:02 -0400 (AST) Received: by zproxy.gmail.com with SMTP id m22so1342262nzf for ; Wed, 23 Nov 2005 08:53:00 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:from:to:cc:subject:date:mime-version:content-type:x-mailer:x-mimeole:thread-index:message-id; b=ir9QU1j2MdvSm6dCrZkLsDCuG4FsiFtJmMWtbx/3RfIg4Dbd3cs+GlPx7uxQDS5vxIuXShT2he3z/f0+nOkG4yZpqZz8whXoMCgnF+NgfhmlL5LwWfE0JVrqt91rTakiViPM8EydAfZEY/X8WsdM5++ex0Z666gKW5gECWYlRnM= Received: by 10.65.206.12 with SMTP id i12mr6087973qbq; Wed, 23 Nov 2005 08:53:00 -0800 (PST) Received: from pollux ( [80.56.3.88]) by mx.gmail.com with ESMTP id d12sm52767qbc.2005.11.23.08.52.59; Wed, 23 Nov 2005 08:53:00 -0800 (PST) From: "Leendert Paul Diterwich" To: Cc: "'Dave Page'" Subject: Postgresql odbc and Visual studio 2005 .net 2.0 Date: Wed, 23 Nov 2005 17:52:57 +0100 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0029_01C5F056.BE52AC70" X-Mailer: Microsoft Office Outlook, Build 11.0.6353 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Thread-Index: AcXwTlsTIAc+JCOJRWW+Wc0K/po4zg== Message-ID: <43849e6c.1d1c7d96.3d04.2108@mx.gmail.com> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.001 required=5 tests=[HTML_MESSAGE=0.001] X-Spam-Score: 0.001 X-Spam-Level: X-Archive-Number: 200511/198 X-Sequence-Number: 6434 This is a multi-part message in MIME format. ------=_NextPart_000_0029_01C5F056.BE52AC70 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hi all, I just got word from MS and this is what they said about the problems some of us are experiencing: Hi Paul, It appears that there are problems with this particular ODBC driver. It tells us that the default catalog is "\0\0" (taken from the IDbConnection.Database property) so we pass this as a catalog restriction to enumerate tables. This works, however the rows returned provide a catalog of NULL. This is inconsistent behavior, and when we then ask our cache to select objects with the catalog restriction "\0\0" it finds none because all objects in the cache have a NULL catalog. There is no workaround for this issue, unfortunately. The only solution is for the ODBC driver to be fixed. Thanks, Stephen Provine VS Data Development Team Is it possible to change the behavior of the ODBC driver? Kind Regards, Paul ------=_NextPart_000_0029_01C5F056.BE52AC70 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi all,

 

I just got word from MS and this is what they said = about the problems some of us are experiencing:

 

Hi Paul,

It appears that there are problems with this particular ODBC driver. It = tells us that the default catalog is "\0\0" (taken from the = IDbConnection.Database property) so we pass this as a catalog restriction to enumerate tables. = This works, however the rows returned provide a catalog of NULL. This is inconsistent behavior, and when we then ask our cache to select objects = with the catalog restriction "\0\0" it finds none because all = objects in the cache have a NULL catalog.

There is no workaround for this issue, unfortunately. The only solution = is for the ODBC driver to be fixed.

Thanks,
Stephen Provine
VS Data Development Team

 

Is it possible to change the behavior of the ODBC = driver?

 

Kind Regards,

 

Paul

------=_NextPart_000_0029_01C5F056.BE52AC70--