Re: Range Types - typo + NULL string constructor - Mailing list pgsql-hackers

From David Fetter
Subject Re: Range Types - typo + NULL string constructor
Date
Msg-id 20111011180407.GC7119@fetter.org
Whole thread Raw
In response to Re: Range Types - typo + NULL string constructor  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
On Tue, Oct 11, 2011 at 12:18:18PM -0400, Robert Haas wrote:
> On Tue, Oct 11, 2011 at 12:12 PM, David Fetter <david@fetter.org> wrote:
> > Nothing's bad about '[]' per se.  What's better, but possibly out
> > of the reach of our current lexing and parsing system, would be
> > things like:
> >
> > [1::int, 10)
> 
> That's been discussed before.  Aside from the parser issues (which
> are formidable) it would break brace-matching in most if not all
> commonly used editors.

That being the situation, ubiquitous support for the natural syntax
looks like it's a decade away, minimum. :(

Trying to be cheery,
David.
-- 
David Fetter <david@fetter.org> http://fetter.org/
Phone: +1 415 235 3778  AIM: dfetter666  Yahoo!: dfetter
Skype: davidfetter      XMPP: david.fetter@gmail.com
iCal: webcal://www.tripit.com/feed/ical/people/david74/tripit.ics

Remember to vote!
Consider donating to Postgres: http://www.postgresql.org/about/donate


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Range Types - typo + NULL string constructor
Next
From: Merlin Moncure
Date:
Subject: Re: Proposal: casts row to array and array to row