6.5.3 and ODBC: How to get hold of errors

From: Christian Ullrich <c(dot)ullrich(at)vulkantechnic(dot)de>
To: pgsql-interfaces(at)postgresql(dot)org
Subject: 6.5.3 and ODBC: How to get hold of errors
Date: 1999-12-02 09:09:27
Message-ID: 19991202100927.A16805@mail.vulkantechnic.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

Hello world,

I'm developing a library database with 6.5.3, frontend is Access. I use
Massimo Lambertini's functions for referential integrity. My problem is:
How can I find out what went wrong, if one of these triggers fails? Access
displays a nice little message, telling me in English about not referenced
attributes in tuples, but I do not expect my german users to understand
this.

The only error codes I can find are ODBC errors 3155-3157 from Jet, these
mean that an INSERT, UPDATE, DELETE, resp., failed, and number 7786, which
is generated by PostgreSQL, as it appears to me. But I can't find out what
precisely the error is, because I can't access the error string.

Is there a way to get a more detailed description?

Thanks for all your help.

--
Christian Ullrich

Responses

Browse pgsql-interfaces by date

  From Date Subject
Next Message UEBAYASHI 'UMA' Masao 1999-12-02 10:14:28 ecpg: why use PREPARE?
Previous Message Douglas Thomson 1999-12-02 03:25:52 Re: [INTERFACES] Slow join query optimisation?