From: | Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | lockhart(at)alumni(dot)caltech(dot)edu (Thomas G(dot) Lockhart) |
Cc: | tgl(at)sss(dot)pgh(dot)pa(dot)us, pgsql-hackers(at)postgreSQL(dot)org |
Subject: | Re: [HACKERS] Regression test status (was type coersion) |
Date: | 1998-08-23 22:20:15 |
Message-ID: | 199808232220.SAA25122@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
> then it works. I'll look at it. Darn, I had just stripped out the
> debugging stuff in the code before submitting it, since leaving it
> hanging around was annoying Bruce (with good reason btw).
I have an idea on this. If we change #ifdef PARSEDEBUG to something
else, I think we can keep it. If in an include file we say:
#ifdef PARSEDEBUG
#define ParseDebug(x) x
#else
#define ParseDebug(x)
#endif
we can then do
x=3;
y=4;
ParseDebug(printf("test));
and it will look good, and we can always enable it. What do you think?
I can do it if you want?
--
Bruce Momjian | 830 Blythe Avenue
maillist(at)candle(dot)pha(dot)pa(dot)us | Drexel Hill, Pennsylvania 19026
+ If your life is a hard drive, | (610) 353-9879(w)
+ Christ can be your backup. | (610) 853-3000(h)
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 1998-08-23 22:21:39 | Re: [HACKERS] What I'm working on |
Previous Message | Bruce Momjian | 1998-08-23 22:16:12 | Re: [HACKERS] Regression test status (was type coersion) |