[fpc-pascal] Re: TPQConnection: Duplicated error message.
Mark Morgan Lloyd
markMLl.fpc-pascal at telemetry.co.uk
Fri Apr 5 10:08:43 CEST 2013
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?
> Note that all parts of the error are always available as fields in the
> exception class.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]
More information about the fpc-pascal
mailing list