Skip site navigation (1) Skip section navigation (2)

Re: alter + preserving dependencies

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Josh Berkus <josh(at)agliodbs(dot)com>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: alter + preserving dependencies
Date: 2008-05-06 17:35:40
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers

Josh Berkus wrote:
> Andrew Dunstan wrote:
>> I have a client who is looking for a way to be able to alter objects 
>> without having to recreate (say, from a dump) all the objects in a 
>> possibly large dependency tree rooted at the object. Of course, if 
>> the alteration invalidates the dependency, than this operation should 
>> fail, but adding a column to a view or table (which is our most 
>> common case) should arguably be a benign operation that shouldn't 
>> fail because of dependencies.
>> I couldn't see anything in the TODO list that seemed appropriate, in 
>> a quick scan.
> I don't follow you.  I can currently add a column, without breaking 
> either foriegn keys or inheritance.  What's the problem?

not for a view at least.



In response to


pgsql-hackers by date

Next:From: Tom LaneDate: 2008-05-06 17:44:02
Subject: Re: alter + preserving dependencies
Previous:From: Josh BerkusDate: 2008-05-06 17:27:46
Subject: Re: alter + preserving dependencies

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group