Jeff Davis <pgsql(at)j-davis(dot)com> writes:
> It's a little strange that we allow people to define functions with one
> argument and the same name as a type if such functions are confusing.
As long as your mental model is that such a function is a cast,
everything is fine. The trouble with the range constructors is that
they aren't really casts, as shown by the fact that when you read
you expect 'foo' to be text and not textrange.
regards, tom lane
In response to
pgsql-hackers by date
|Next:||From: Pavan Deolasee||Date: 2011-11-22 18:04:48|
|Subject: Re: testing ProcArrayLock patches|
|Previous:||From: Robert Haas||Date: 2011-11-22 17:35:01|
|Subject: Re: Storing hot members of PGPROC out of the band|