Re: Arrays of Complex Types

From: David Fetter <david(at)fetter(dot)org>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: PG Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Arrays of Complex Types
Date: 2007-03-06 21:27:12
Message-ID: 20070306212712.GE893@fetter.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Joris Dobbelsteen 2007-03-06 21:54:50 Re: Auto creation of Partitions
Previous Message Tom Lane 2007-03-06 21:24:36 Re: Arrays of Complex Types

Browse pgsql-patches by date

  From Date Subject
Next Message Joris Dobbelsteen 2007-03-06 21:54:50 Re: Auto creation of Partitions
Previous Message Tom Lane 2007-03-06 21:24:36 Re: Arrays of Complex Types