Re: [HACKERS] Union-ifying RangeTblEntry

2014-01-28 Thread Tom Lane
Robert Haas writes: > On Tue, Jan 28, 2014 at 1:18 AM, Craig Ringer wrote: >> In the process I noticed the comment: >> >> /* >> * XXX the fields applicable to only some rte kinds should be >> * merged into a union. I didn't do this yet because the diffs >> * would impact a lot of code that is b

Re: [HACKERS] Union-ifying RangeTblEntry

2014-01-28 Thread Robert Haas
On Tue, Jan 28, 2014 at 1:18 AM, Craig Ringer wrote: > I'm about to have to add _another_ flag to RangeTblEntry, to track > row-security expansion. > > In the process I noticed the comment: > > /* > * XXX the fields applicable to only some rte kinds should be > * merged into a union.

[HACKERS] Union-ifying RangeTblEntry

2014-01-27 Thread Craig Ringer
Hi all I'm about to have to add _another_ flag to RangeTblEntry, to track row-security expansion. In the process I noticed the comment: /* * XXX the fields applicable to only some rte kinds should be * merged into a union. I didn't do this yet because the diffs * would impact