Thread:

From
"Luca Carrettin"
Date:
How can I print a NOTICE or an ERROR message from a C function?
Thanks.
Luca.

Re:

From
Andrew McMillan
Date:
On Sat, 2001-10-27 at 05:28, Luca Carrettin wrote:
> How can I print a NOTICE or an ERROR message from a C function?

Is this on the server side?  In that case you should be able to do
something like:

 elog (NOTICE, "WHATIDID: %s", buf);

Otherwise, on the client side, can you just print a message?

Regards,
                    Andrew.

--
--------------------------------------------------------------------
Andrew @ Catalyst .Net.NZ Ltd, PO Box 11-053, Manners St, Wellington
WEB: http://catalyst.net.nz/        PHYS: Level 2, 150-154 Willis St
DDI: +64(4)916-7201    MOB: +64(21)635-694    OFFICE: +64(4)499-2267