Re: [HACKERS] Representation of index clause lists

2011-12-23 Thread Tom Lane
Robert Haas writes: > On Fri, Dec 23, 2011 at 7:53 PM, Tom Lane wrote: >> Thoughts either way? > OidFunctionCall11? How about making a struct out of some or all of > those arguments and passing that? Well, that was what I meant by the allusion to IndexPath --- I'm inclined to pass "root" and "

Re: [HACKERS] Representation of index clause lists

2011-12-23 Thread Robert Haas
On Fri, Dec 23, 2011 at 7:53 PM, Tom Lane wrote: > Thoughts either way? OidFunctionCall11? How about making a struct out of some or all of those arguments and passing that? What about using arrays rather than Lists? -- Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise Postg

[HACKERS] Representation of index clause lists

2011-12-23 Thread Tom Lane
No sooner had I committed e2c2c2e8b1df7dfdb01e7e6f6191a569ce3c3195 than I started having second thoughts about the choice of representation. The requirement is to tell which index column each potential index qual is meant to be used with. I used a list-of-sublists representation, in which each sub