> I have not YET come up with a clean method for detection of the a resjunk flag being set, on some resdom in the
> tatget list, by a GROUP/ORDER BY. I will give it another look. It does seem a bit heavy handed to construct the
> filter unconditionally on all SELECTS.
Can you foreach() through the target list, and check/set a flag, then
call the junk filter if you found a resjunk?
--
Bruce Momjian | 830 Blythe Avenue
maillist@candle.pha.pa.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)