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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-novice by date

  From Date Subject
Next Message Carlos Augusto 2001-10-28 03:21:24 IDE
Previous Message Daniel Bautista 2001-10-26 22:15:46 Installing PostgreSQL