[fpc-pascal] Re: TPQConnection: Duplicated error message.

Michael Van Canneyt michael at freepascal.org
Fri Apr 5 10:10:25 CEST 2013

On Fri, 5 Apr 2013, Mark Morgan Lloyd wrote:

> Michael Van Canneyt wrote:
>>> Regarding the content of your question in the bug: AFAIU it's for
>>> backward compatibility. The generic db error shows the error message.
>>> The specialized PostgreSQL error does the same, but also shows it in
>>> detail (perhaps, can't remember, there can be a list of multiple errors).
>>> I'm sure the guy who implemented this (I think Ludo Brands) can tell you
>>> exactly what's going on.
>> I have changed it, but added an option so you can ask all information as it 
>> was.
> Name of option please: is it a global or associated with the connection 
> object?

VerboseErrors property of TPQConnection

It's open source, You can look in the sources, you know this ? :)


More information about the fpc-pascal mailing list