Re: Arrays of Complex Types - Mailing list pgsql-hackers

From David Fetter
Subject Re: Arrays of Complex Types
Date
Msg-id 20070306212712.GE893@fetter.org
Whole thread Raw
In response to Re: Arrays of Complex Types  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
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


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Arrays of Complex Types
Next
From: "Joris Dobbelsteen"
Date:
Subject: Re: Auto creation of Partitions