[HACKERS] Help needed in testing my code.

2003-05-28 Thread Srikanth M
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 t

Re: [HACKERS] RBLs ... I'm tired of spam ...

2003-05-28 Thread Oleg Bartunov
I'm using bogofilter. It works well after learning what is spam/non spam. I save all spam into seprarate box and check it once a week. It takes mostly pressing "d" in pine and could be done very quickly. Oleg On Tue, 27 May 2003, Marc G. Fournier wrote: > > *Way* off topic ... but I'm

Re: [HACKERS] Help needed in testing my code.

2003-05-28 Thread Sailesh Krishnamurthy
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

Re: [HACKERS] Help needed in testing my code.

2003-05-28 Thread Kris Jurka
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 > > - Origi

Re: [HACKERS] Help needed in testing my code.

2003-05-28 Thread Srikanth M
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 executables.

Re: [HACKERS] Help needed in testing my code.

2003-05-28 Thread Sailesh Krishnamurthy
> "Srikanth" == Srikanth M 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

Re: [HACKERS] EXECUTE INTO

2003-05-28 Thread Peter Eisentraut
If no one objects, I will make this change. Peter Eisentraut writes: > I noticed 7.4 has an EXECUTE INTO statement that is a prepared form of > SELECT INTO. But since SELECT INTO is sort of less preferred than CREATE > TABLE AS for several reasons, would it not be better if we named that > state

[HACKERS] describe statement

2003-05-28 Thread Dave Cramer
Is anyone working on, or planning on working on the describe statement? It is very useful for ecpg, and a project I am working on. Depending on the amount, I may be able to get compensation for this, if this helps motivate anyone? -- Dave Cramer <[EMAIL PROTECTED]> fastcrypt -

Re: [HACKERS] vacuum analyze corrupts database

2003-05-28 Thread Michael Brusser
> Well, first thing I'd ask is whether the other installation is using > the same locale settings. Oh, yes, I am very sure of that. Mike ---(end of broadcast)--- TIP 4: Don't 'kill -9' the postmaster

Re: [HACKERS] Help needed in testing my code.

2003-05-28 Thread Christopher Kings-Lynne
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, > >