Received: from localhost (unknown [200.46.204.191]) by postgresql.org (Postfix) with ESMTP id 6E1D49FBFDC for ; Tue, 30 Oct 2007 09:45:22 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.191]) (amavisd-maia, port 10024) with ESMTP id 47771-05 for ; Tue, 30 Oct 2007 09:45:17 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from smadev.internal.net (host3.dynacom.ondsl.gr [62.103.35.211]) by postgresql.org (Postfix) with ESMTP id D03C39FA52D for ; Tue, 30 Oct 2007 09:45:14 -0300 (ADT) Received: from smadev.internal.net (localhost [127.0.0.1]) by smadev.internal.net (8.13.6/8.13.6) with ESMTP id l9UCivHD081483; Tue, 30 Oct 2007 14:44:57 +0200 (EET) (envelope-from achill@matrix.gatewaynet.com) Received: from localhost (localhost [[UNIX: localhost]]) by smadev.internal.net (8.13.6/8.13.6/Submit) id l9UCiuJH081482; Tue, 30 Oct 2007 14:44:56 +0200 (EET) (envelope-from achill@matrix.gatewaynet.com) From: Achilleas Mantzios Organization: Dynacom Tankers Mgmt To: pgsql-jdbc@postgresql.org Subject: Re: Error codes in SQLException Date: Tue, 30 Oct 2007 15:44:55 +0300 User-Agent: KMail/1.9.3 Cc: "Christian Rengstl" References: <47270D36.90AD.0080.0@klinik.uni-regensburg.de> In-Reply-To: <47270D36.90AD.0080.0@klinik.uni-regensburg.de> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200710301444.56561.achill@matrix.gatewaynet.com> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200710/176 X-Sequence-Number: 17748 =CE=A3=CF=84=CE=B9=CF=82 =CE=A4=CF=81=CE=AF=CF=84=CE=B7 30 =CE=9F=CE=BA=CF= =84=CF=8E=CE=B2=CF=81=CE=B9=CE=BF=CF=82 2007 12:06, =CE=BF/=CE=B7 Christian= Rengstl =CE=AD=CE=B3=CF=81=CE=B1=CF=88=CE=B5: > Hi list, > > I was just wondering if there is a overview somewhere with the integer > values returned by SQLException when calling getErrorCode(). Browsing at the sources of 7.4.12 (dont shout please!! i know we must upgra= de=20 in the future), i dont see any reference to getErrorCode() in PSQLException. The right way however is to use the standardized getSQLState() according to http://www.postgresql.org/docs/7.4/interactive/errcodes-appendix.html > Thanks! > > > > Christian Rengstl M.A. > Klinik und Poliklinik f=C3=BCr Innere Medizin II > Kardiologie - Forschung > Universit=C3=A4tsklinikum Regensburg > B3 1.388 > Franz-Josef-Strauss-Allee 11 > 93053 Regensburg > Tel.: +49-941-944-7230 > > > > > ---------------------------(end of broadcast)--------------------------- > TIP 5: don't forget to increase your free space map settings =2D-=20 Achilleas Mantzios