On Mon, Aug 10, 2009 at 12:13 PM, Tom Lane<tgl@sss.pgh.pa.us> wrote:
> Robert Haas <robertmhaas@gmail.com> writes:
>> On Mon, Aug 10, 2009 at 10:54 AM, Tom Lane<tgl@sss.pgh.pa.us> wrote:
>>> <Filter><Expr><Text>(f1 > 0)</Text></Expr></Filter>
>>>
>>> This would leave room to add additional properties beside the text,
>>> and not break existing clients when we do it.
>
>> Well, there you seem to be adding TWO containers, which is probably
>> overkill. I could see adding one.
>
> Uh, no, I see one container and a property. If we do just
>
> <Filter><Expr>(f1 > 0)</Expr></Filter>
>
> then where do we put additional information about the expression
> when the time comes?
I would assume you would just write:
<Filter><Text>(f1 > 0)</Text><Other-Stuff>thing!</Other-Stuff></Filter>
...Robert