Re: Help needed in testing my code.
От | Kris Jurka |
---|---|
Тема | Re: Help needed in testing my code. |
Дата | |
Msg-id | Pine.LNX.4.33.0305280606260.2937-100000@leary.csoft.net обсуждение исходный текст |
Ответ на | Re: Help needed in testing my code. ("Christopher Kings-Lynne" <chriskl@familyhealth.com.au>) |
Список | pgsql-hackers |
I'm guessing his problem is that he's expecting this to come out of psql and not go to the backend's stdout. Kris Jurka On Wed, 28 May 2003, Christopher Kings-Lynne wrote: > Hi, > > This is a much better way than printf: > > elog(NOTICE, "this is my test: %s", string); > > Chris > > ----- Original Message ----- > From: "Srikanth M" <srikanth_m@students.iiit.net> > To: <pgsql-hackers@postgresql.org> > 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/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 the executables > > in the /usr/bin/ directory but i couldn't see the test > > statement after giving a query to psql. > > > > please tell me the procedure of adding a test > > printf statement in postgres.c(or in any file), and > > compiling and running it so that i get the test statement > > as an output when i give the query. > > > > Sincerely > > Srikanth M > > > > > > > > > > > > > > > > > > ---------------------------(end of broadcast)--------------------------- > > TIP 5: Have you checked our extensive FAQ? > > > > http://www.postgresql.org/docs/faqs/FAQ.html > > > > > ---------------------------(end of broadcast)--------------------------- > TIP 3: if posting/reading through Usenet, please send an appropriate > subscribe-nomail command to majordomo@postgresql.org so that your > message can get through to the mailing list cleanly >
В списке pgsql-hackers по дате отправления: