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 7CBDADBA2C for ; Wed, 23 Nov 2005 13:10:56 -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 43991-02 for ; Wed, 23 Nov 2005 17:10:54 +0000 (GMT) X-Greylist: domain auto-whitelisted by SQLgrey- Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.204]) by svr1.postgresql.org (Postfix) with ESMTP id 2F1C5DBA1E for ; Wed, 23 Nov 2005 13:10:52 -0400 (AST) Received: by xproxy.gmail.com with SMTP id h27so1409586wxd for ; Wed, 23 Nov 2005 09:10:52 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=uRGo5bIHlXIbAYhSUCnWKRVSWoOPtkxm7KiUtF57uHD5HIrWe5a/z4z/yf7k4E7LCUcp6ihxuS3/w6pv7oPs6eAs2ab3la2xXr39LvYEu/A7JlhcF2KH4mFOQDQKchf9iy+ncseIditkJCA4mq2jsjUUHGcwFnI62Ub34HutZA0= Received: by 10.64.153.6 with SMTP id a6mr6158810qbe; Wed, 23 Nov 2005 09:10:52 -0800 (PST) Received: by 10.65.180.2 with HTTP; Wed, 23 Nov 2005 09:10:52 -0800 (PST) Message-ID: Date: Wed, 23 Nov 2005 12:10:52 -0500 From: Jaime Casanova To: Leendert Paul Diterwich Subject: Re: Postgresql odbc and Visual studio 2005 .net 2.0 Cc: pgsql-odbc@postgresql.org, Dave Page In-Reply-To: <43849e6c.1d1c7d96.3d04.2108@mx.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <43849e6c.1d1c7d96.3d04.2108@mx.gmail.com> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=1.032 required=5 tests=[AWL=-0.300, RCVD_IN_BL_SPAMCOP_NET=1.332] X-Spam-Score: 1.032 X-Spam-Level: * X-Archive-Number: 200511/200 X-Sequence-Number: 6436 On 11/23/05, Leendert Paul Diterwich wrote: > > > Hi all, > > > > I just got word from MS and this is what they said about the problems som= e > 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 i= s > 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 about your problem with the odbc... sounds weird i used the vs.net (not 2005 i don't remember de version, it was a year ago or maybe two :) and i use the odbc and odbc .net data provider without problems... maybe a bug new in vs.net 2005 or maybe a new "behaviour", who knows... have you tried the npgsql (.Net Data Provider for Pgsql), you can find it in pgfoundry.org -- Atentamente, Jaime Casanova (DBA: DataBase Aniquilator ;)