Re: - Mailing list pgsql-novice

From Andrew McMillan
Subject Re:
Date
Msg-id 1004179979.3457.28.camel@kant.mcmillan.net.nz
Whole thread Raw
In response to  ("Luca Carrettin" <lucacarrettin@sogeasoft.com>)
List pgsql-novice
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


pgsql-novice by date:

Previous
From: Jason Earl
Date:
Subject: Re: copy command...
Next
From: The Cadaver
Date:
Subject: IDE