On Mon, Aug 10, 2009 at 12:13 PM, Tom Lane<t...@sss.pgh.pa.us> wrote:
> Robert Haas <robertmh...@gmail.com> writes:
>> On Mon, Aug 10, 2009 at 10:54 AM, Tom Lane<t...@sss.pgh.pa.us> wrote:
>>>        <Filter><Expr><Text>(f1 &gt; 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 &gt; 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 &gt; 0)</Text><Other-Stuff>thing!</Other-Stuff></Filter>

...Robert

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to