| From: | Laszlo Hornyak <kocka(at)forgeahead(dot)hu> |
|---|---|
| To: | pgsql-hackers(at)postgresql(dot)org |
| Subject: | ErrorContextCallback |
| Date: | 2004-08-09 21:42:39 |
| Message-ID: | 4117EFCF.8080406@forgeahead.hu |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
Hi!
Sorry if I post this mail to the wrong list, I checked each by it's
theme and this seems to be the best.
I have a strange problem with an errorcontextcallback:
Given the following code fragment:
mycallback->previous = error_context_stack;
elog(DEBUG1,"1");
mycallback->callback = plpgj_ErrorContextCallback;
elog(DEBUG1,"2");
mycallback->arg = "hello world!";
elog(DEBUG1,"3");
error_context_stack = mycallback;
elog(DEBUG1,"4");
and the callback function logs "callback", the following apears in the log:
DEBUG: 1
DEBUG: 2
DEBUG: 3
ERROR: callback
Can anybody tell me why this happens?
Thanks,
Laszlo
| Attachment | Content-Type | Size |
|---|---|---|
| kocka.vcf | text/x-vcard | 302 bytes |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Kevin Brown | 2004-08-09 21:46:33 | Re: Tablespace issues (comment on ,moving indexes) |
| Previous Message | Marc G. Fournier | 2004-08-09 21:13:46 | Re: 8.0.0beta1 ... packaged for testing ... |