Florian Pflug <fgp@phlo.org> writes:
>> This might solve the constructor problem nicely if we could do things
>> like:
>> RANGE[10,20)
>> But I have a feeling that will either cause a bizarre problem with the
>> grammar, or someone will think it's not very SQL-like.
> It will certainly mess up syntax highlighting and matching bracket detection
> in pretty much all text editors...
Yeah. It's a cute-looking notation but surely it will cause many more
problems than it's worth. I agree with Robert's suggestion of plain
functions named like range_co() etc.
regards, tom lane