Re: Range Type constructors - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Range Type constructors
Date
Msg-id 19558.1297365663@sss.pgh.pa.us
Whole thread Raw
In response to Re: Range Type constructors  (Florian Pflug <fgp@phlo.org>)
Responses Re: Range Type constructors  ("David E. Wheeler" <david@kineticode.com>)
List pgsql-hackers
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


pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: [COMMITTERS] pgsql: Remove more SGML tabs.
Next
From: Peter Eisentraut
Date:
Subject: Re: pl/python custom exceptions for SPI