Re: Range Types, constructors, and the type system - Mailing list pgsql-hackers

From Jeff Davis
Subject Re: Range Types, constructors, and the type system
Date
Msg-id 1310008138.3012.144.camel@jdavis
Whole thread Raw
In response to Re: Range Types, constructors, and the type system  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Wed, 2011-07-06 at 15:14 -0400, Tom Lane wrote:
> > I ran into problems with that before... I think with the I/O functions.
> > I don't think that's a problem here, but I thought I'd ask.
> 
> I think it'd probably be all right to do that.  The places where you
> might find shortcuts being taken are where functions are called directly
> by C code, such as I/O function calls --- but these constructors should
> only ever get invoked from SQL queries, no?

Perhaps index expressions/predicates as well (which are also fine). I
was more worried about some case that I hadn't thought of.

Regards,Jeff Davis



pgsql-hackers by date:

Previous
From: Noah Misch
Date:
Subject: Re: Make relation_openrv atomic wrt DDL
Next
From: Josh Berkus
Date:
Subject: 9.2 CF2: 20 days in