On Tue, Mar 06, 2007 at 04:24:36PM -0500, Tom Lane wrote:
> David Fetter <[EMAIL PROTECTED]> writes:
> > On Tue, Mar 06, 2007 at 04:14:07PM -0500, Tom Lane wrote:
> >> David Fetter <[EMAIL PROTECTED]> writes:
> >>> I noticed something in src/backend/commands/tablecmds.c which
> >>> worries me, namely that it ignores functions and views.
> >> 
> >> What?
> 
> > The "it" in question is, find_composite_type_dependencies()
> 
> All that that's interested in is whether there are stored values of the
> datatype somewhere.  Views don't have any storage, and a function
> definition doesn't either.

I see.  Perhaps I've misunderstood what this thing was for, then.
What is it that checks whether it's OK to change a composite type,
then?

Cheers,
D
-- 
David Fetter <[EMAIL PROTECTED]> http://fetter.org/
phone: +1 415 235 3778        AIM: dfetter666
                              Skype: davidfetter

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

---------------------------(end of broadcast)---------------------------
TIP 9: In versions below 8.0, the planner will ignore your desire to
       choose an index scan if your joining column's datatypes do not
       match

Reply via email to