Re: [HACKERS] Well, then you keep your darn columns - Mailing list pgsql-hackers

From Ed Loehr
Subject Re: [HACKERS] Well, then you keep your darn columns
Date
Msg-id 388CB580.6B336648@austin.rr.com
Whole thread Raw
In response to RE: [HACKERS] Well, then you keep your darn columns  ("Hiroshi Inoue" <Inoue@tpf.co.jp>)
Responses Re: [HACKERS] Well, then you keep your darn columns
List pgsql-hackers
Don Baccus wrote:
> 
> >How would you handle multi-column indices that included the column
> >being dropped?  E.g.,
> >
> >       create unique index foobar on mytable(foo,bar);
> >
> >where the 'bar' column is then dropped...
> 
> ...  Oracle drops all indices which reference the column.

Seems like a new 'gotcha'... either way, informative warnings/notices
would be nice.

Along these same lines, how would pre-existing functions that
referenced the just-dropped column be handled?  I'm thinking of
PL/pgSQL...


Cheers,
Ed Loehr


pgsql-hackers by date:

Previous
From: The Hermit Hacker
Date:
Subject: Re: [HACKERS] Well, then you keep your darn columns
Next
From: The Hermit Hacker
Date:
Subject: Re: [HACKERS] Well, then you keep your darn columns