From: Markus Schaber <schabi@logix-tt.com>
To: Fay Du <fay.du@versaterm.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: How can I read display message from a C function
Date: Fri, 05 May 2006 10:17:38 +0200
Message-ID: <445B0A22.4010608@logix-tt.com> (raw)
In-Reply-To: <000f01c66f8f$c17f4df0$b8d849c6@versaterm.com>
References: <000f01c66f8f$c17f4df0$b8d849c6@versaterm.com>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: schabi@logix-tt.com, fay.du@versaterm.com
Subject: Re: How can I read display message from a C function
In-Reply-To: <445B0A22.4010608@logix-tt.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox