Returning Errors from User Defined C-functions - Mailing list pgsql-general

From o.blomqvist@secomintl.com (Otto Blomqvist)
Subject Returning Errors from User Defined C-functions
Date
Msg-id c501cb7d.0409151732.cb7943e@posting.google.com
Whole thread Raw
Responses Re: Returning Errors from User Defined C-functions
List pgsql-general
Hello !

I have several functions that are compiled as .so and runs pretty well
under PSQL. However I would like to be able to return errors (for
debugging) using something like this

fprintf(stderr, "BEGIN command failed\n");

Problem is I don't know where this would show up..? In some Postgres
log maybe ? I am not directly calling these functions, they are called
from a Daemon, also written in C running on the same box.

Any ideas ?

Thanks a lot

/Otto Blomqvist

pgsql-general by date:

Previous
From: tmp
Date:
Subject: Re: psql + autocommit
Next
From: tmp
Date:
Subject: Getting track of foreign keys