Skip site navigation (1) Skip section navigation (2)

Re:

From: Andrew McMillan <andrew(at)catalyst(dot)net(dot)nz>
To: Luca Carrettin <lucacarrettin(at)sogeasoft(dot)com>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re:
Date: 2001-10-27 10:52:59
Message-ID: 1004179979.3457.28.camel@kant.mcmillan.net.nz (view raw or flat)
Thread:
Lists: 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


In response to

  • at 2001-10-26 16:28:26 from Luca Carrettin

pgsql-novice by date

Next:From: Carlos AugustoDate: 2001-10-28 03:21:24
Subject: IDE
Previous:From: Daniel BautistaDate: 2001-10-26 22:15:46
Subject: Installing PostgreSQL

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group