On Mon, Jun 27, 2011 at 11:42 PM, Jeff Davis <pg...@j-davis.com> wrote: > So, in effect, RANGEINPUT is a special type used only for range > constructors. If someone tried to output it, it would throw an > exception, and we'd even have enough information at that point to print > a nice error message with a hint.
I don't think I like the idea of throwing an error when you try to output it, but the rest seems reasonably sensible. > Actually, this is pretty much exactly Florian's idea (thanks again, > Florian), but at the time I didn't like it because "pair" didn't capture > everything that I wanted to capture, like infinite bounds, etc. But > there's no reason that it can't, and your point made me realize that -- > you are effectively just using TEXT as the intermediate type (which > works, but has some undesirable characteristics). What undesirable characteristics? -- Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers