On Tue, Mar 06, 2007 at 04:24:36PM -0500, Tom Lane wrote:
> David Fetter <david@fetter.org> writes:
> > On Tue, Mar 06, 2007 at 04:14:07PM -0500, Tom Lane wrote:
> >> David Fetter <david@fetter.org> 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 <david@fetter.org> 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