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 A0762D93E9 for ; Wed, 9 Nov 2005 10:22:47 -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 57977-02 for ; Wed, 9 Nov 2005 14:22:44 +0000 (GMT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by svr1.postgresql.org (Postfix) with ESMTP id F35B9D7AD2 for ; Wed, 9 Nov 2005 10:22:45 -0400 (AST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.1/8.13.1) with ESMTP id jA9EMlkY014908; Wed, 9 Nov 2005 09:22:47 -0500 (EST) To: "Dave Page" Cc: "Andrus" , pgsql-odbc@postgresql.org Subject: Re: Dedect unknown database in 08.01.0100 and Postgres 8.1 In-reply-to: References: Comments: In-reply-to "Dave Page" message dated "Wed, 09 Nov 2005 09:43:04 +0000" Date: Wed, 09 Nov 2005 09:22:47 -0500 Message-ID: <14907.1131546167@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.006 required=5 tests=[AWL=0.006] X-Spam-Score: 0.006 X-Spam-Level: X-Archive-Number: 200511/86 X-Sequence-Number: 6323 "Dave Page" writes: > Also, am I right in thinking there is no way to get an sqlstate code > from a libpq connection, or did I miss something in the docs? Yeah, mainly because there is not any support within libpq for generating SQLSTATE codes for errors reported by the library itself. Somebody should step up and fix that sometime. regards, tom lane