Re: [JDBC] Using \errverbose through JDBC - Mailing list pgsql-jdbc

From Thomas Kellerer
Subject Re: [JDBC] Using \errverbose through JDBC
Date
Msg-id o6tgvh$dik$1@blaine.gmane.org
Whole thread Raw
In response to Re: [JDBC] Using \errverbose through JDBC  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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



pgsql-jdbc by date:

Previous
From: Thomas Kellerer
Date:
Subject: Re: Using \errverbose through JDBC
Next
From: Malcolm Studd
Date:
Subject: postgresql-jdbc driver not respecting prepareThreshold=0