Re: Using \errverbose through JDBC

From: Thomas Kellerer <spam_eater(at)gmx(dot)net>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Using \errverbose through JDBC
Date: 2017-02-01 20:38:13
Message-ID: o6tgvh$dik$1@blaine.gmane.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Tom Lane schrieb am 01.02.2017 um 16:24:
> So really what would be appropriate for JDBC to provide, IMO, is
> some equivalent of libpq's PQresultErrorField(). Perhaps that's
> already there.

The JDBC driver already does that.

Vladimir pointed me to the correct location:

https://jdbc.postgresql.org/documentation/publicapi/org/postgresql/util/ServerErrorMessage.html

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Malcolm Studd 2017-02-02 22:22:30 postgresql-jdbc driver not respecting prepareThreshold=0
Previous Message Thomas Kellerer 2017-02-01 15:51:35 Re: Using \errverbose through JDBC