need more ALTER TABLE guards for typed tables - Mailing list pgsql-hackers

From Peter Eisentraut
Subject need more ALTER TABLE guards for typed tables
Date
Msg-id 1279739938.10881.8.camel@vanquo.pezone.net
Whole thread Raw
Responses Re: need more ALTER TABLE guards for typed tables
List pgsql-hackers
After some investigation I figured that I need to add two more checks
into the ALTER TABLE code to prevent certain types of direct changes to
typed tables (see attached patch).

But it's not clear to me whether such checks should go into the "Prep"
or the "Exec" phases.  Prep seems more plausible to me, but some
commands such as DropColumn don't have a Prep handler.  A clarification
would be helpful.


Attachment

pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: antisocial things you can do in git (but not CVS)
Next
From: Robert Haas
Date:
Subject: Re: documentation for committing with git