Bruce Momjian <pgman@candle.pha.pa.us> writes: > I found it was easier to concatenate the "UNION" at the macro call site, > rather than the macro body. This eliminates the extra macro. Patch > attached and applied.
Yeah, that looks like a much safer idea --- avoids making assumptions about the behavior of the macro expander. regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 3: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faq