Re: [HACKERS] avoid including rel.h in execnodes.h

2011-07-04 Thread Alvaro Herrera
Excerpts from Tom Lane's message of vie jul 01 18:20:50 -0400 2011: > Alvaro Herrera writes: > > I also included rel.h in spi.h, because it was previously indirectly > > included via execnodes.h and with this patch it would no longer be, > > which is a problem because it'd cause external code to

Re: [HACKERS] avoid including rel.h in execnodes.h

2011-07-01 Thread Tom Lane
Alvaro Herrera writes: > This simple patch moves two struct declarations (Trigger and > TriggerDesc) from rel.h into a new file, reltrigger.h. The benefit is > that execnodes.h only needs to include the latter. Since execnodes.h is > very widely included, this change means there are less files t