Re: How can I read display message from a C function - Mailing list pgsql-sql

From Markus Schaber
Subject Re: How can I read display message from a C function
Date
Msg-id 445B0A22.4010608@logix-tt.com
Whole thread Raw
In response to How can I read display message from a C function  ("Fay Du" <fay.du@versaterm.com>)
List pgsql-sql
Hi, Fay,

Fay Du wrote:

>     I would like to put some message in my C function ( myTestFunction).
> Currently, I want to see time for each function call inside
> myTestFunction. The output to the screen commands are in myTestFunction.
> myTestFunction is called from postgresql. How can I see the messages?

Hmm, would statement logging help you?

If not, you could use elog(NOTICE, "message with time");

HTH,
Markus
-- 
Markus Schaber | Logical Tracking&Tracing International AG
Dipl. Inf.     | Software Development GIS

Fight against software patents in EU! www.ffii.org www.nosoftwarepatents.org


pgsql-sql by date:

Previous
From: "Catalin Pitis"
Date:
Subject: Re: Connecting to Postgres from other machines (outside localhost)
Next
From: "Kashmira Patel \(kupatel\)"
Date:
Subject: Returning String as Integer