pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
6.5.3 and ODBC: How to get hold of errors
2+ messages / 1 participants
[nested] [flat]

* 6.5.3 and ODBC: How to get hold of errors
@ 1999-12-02 09:09  Christian Ullrich <c.ullrich@vulkantechnic.de>
  0 siblings, 1 reply; 2+ messages in thread

From: Christian Ullrich @ 1999-12-02 09:09 UTC (permalink / raw)
  To: 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



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: [INTERFACES] 6.5.3 and ODBC: How to get hold of errors
@ 1999-12-03 07:41  Christian Ullrich <c.ullrich@vulkantechnic.de>
  parent: Christian Ullrich <c.ullrich@vulkantechnic.de>
  0 siblings, 0 replies; 2+ messages in thread

From: Christian Ullrich @ 1999-12-03 07:41 UTC (permalink / raw)
  To: pgsql-interfaces

Christian Ullrich schrieb am Donnerstag, 02.12.1999

> 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.

To refine my question: I need to read the error string sent from
PostgreSQL from within Access, at runtime, to find out what the user did
wrong.

Thanks again for all your help.

-- 
Christian Ullrich



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~1999-12-03 07:41 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
1999-12-02 09:09 6.5.3 and ODBC: How to get hold of errors Christian Ullrich <c.ullrich@vulkantechnic.de>
1999-12-03 07:41 ` Christian Ullrich <c.ullrich@vulkantechnic.de>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox