logo       
Google Custom Search
    AddThis Social Bookmark Button

Re: Cascaded Column Drop: msg#00309

Subject: Re: Cascaded Column Drop
Rod Taylor <rbt@xxxxxx> writes:
> When a cascaded column drop is removing the last column, drop the table
> instead.  Regression tests via domains.

Is that a good idea, or should we refuse the drop entirely?  A table
drop zaps a lot more stuff than a column drop.

What I was actually wondering about after reading Tim's report was
whether we could support zero-column tables, which would eliminate the
need for the special case altogether.  I have not looked to see how
extensive are the places that assume tuples have > 0 columns ...

                        regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

http://archives.postgresql.org




Try Searching:
servers, voip, java, networking, microsoft ...
<Prev in Thread] Current Thread [Next in Thread>