Re: Feature Request: PSQLException verbosity option - Mailing list pgsql-jdbc

From Kris Jurka
Subject Re: Feature Request: PSQLException verbosity option
Date
Msg-id Pine.BSO.4.64.0805201542480.19137@leary.csoft.net
Whole thread Raw
In response to Re: Feature Request: PSQLException verbosity option  (Daniel Migowski <dmigowski@ikoffice.de>)
Responses Re: Feature Request: PSQLException verbosity option  (Daniel Migowski <dmigowski@ikoffice.de>)
List pgsql-jdbc

On Tue, 20 May 2008, Daniel Migowski wrote:

> Sounds great. The only "strange" thing with PostgreSQL-Exceptions will
> then be that they have multilined messages, which is AFAIK uncommon, but
> not forbidden, in Java, but might eventually break logfile parsers. In
> my case i like the multiline exceptions. Another possibility would be to
> print all the information into a single line, and work a bit on the
> formatting to have this look good.
>

It's a lot of stuff to jam on one line and we already use multiline
exceptions if we have a Detail message, so I've kept it multiline.  I've
added hint, position, and where to the default message.  File, line,
routine, internal_query, and internal_position are still not shown unless
additional verbosity is requested.

Kris Jurka

pgsql-jdbc by date:

Previous
From: Kris Jurka
Date:
Subject: Re: org.postgresql.xa.PGXADataSource and compatible=8.2 in query string
Next
From: Achilleas Mantzios
Date:
Subject: Re: org.postgresql.xa.PGXADataSource and compatible=8.2 in query string