On Wed, May 28, 2003 at 12:59:56PM +0200, Sailesh Krishnamurthy wrote:
elog(NOTICE should send NOTICE messages to the psql client (I think !)
while elog(LOG while only send it to the logfile you might have
specified while starting the postmaster
Whether a given elog level is sent to the
Dear Sir,
I want to know the compilaiton and execution of my
code. Suppose if i add a test printf statement in the
src/backend/tcop/postgres.c and after compilation and
execution i should get that statement every time i give
a query to psql.
After running make I even added
Why don't you use elog(LOG, instead of printf ?
--
Pip-pip
Sailesh
http://www.cs.berkeley.edu/~sailesh
---(end of broadcast)---
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to [EMAIL PROTECTED] so
Message -
From: Srikanth M [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, May 28, 2003 3:08 PM
Subject: [HACKERS] Help needed in testing my code.
Dear Sir,
I want to know the compilaiton and execution of my
code. Suppose if i add a test printf statement in the
src/backend
Dear Sir
I am new to postgres and dont know the excat procedure of
testing my code, okay i will use elog, but please tell me the procedure
of testing that.
for example,pls tell what should i do after i add code, what make files
should i run and where should i place the new
Srikanth == Srikanth M Srikanth writes:
Srikanth Dear Sir I am new to postgres and dont know the excat
Srikanth procedure of testing my code, okay i will use elog, but
Srikanth please tell me the procedure of testing that.
Srikanth
As you're a big fan of stealing code, why don't
Hi,
This is a much better way than printf:
elog(NOTICE, this is my test: %s, string);
Chris
- Original Message -
From: Srikanth M [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, May 28, 2003 3:08 PM
Subject: [HACKERS] Help needed in testing my code.
Dear Sir,
I want