Skip site navigation (1) Skip section navigation (2)

Re: Feature Request: PSQLException verbosity option

From: Daniel Migowski <dmigowski(at)ikoffice(dot)de>
To: Kris Jurka <books(at)ejurka(dot)com>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Feature Request: PSQLException verbosity option
Date: 2008-05-21 20:13:03
Message-ID: 4834824F.3080708@ikoffice.de (view raw or flat)
Thread:
Lists: pgsql-jdbc
Kris Jurka schrieb:
> 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
Thanks alot, exactly what i need!

With best regards,
Daniel Migowski

In response to

pgsql-jdbc by date

Next:From: Albretch MuellerDate: 2008-05-21 20:46:41
Subject: Types of SQL statements swallowed by PG's engine
Previous:From: Kris JurkaDate: 2008-05-21 19:54:50
Subject: Re: org.postgresql.xa.PGXADataSource and compatible=8.2 in query string

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group