Jim Nasby <jim.na...@bluetreble.com> writes: > On 9/8/16 4:55 AM, Emre Hasegeli wrote: >> The main problem that has been discussed before was the indexes. One >> way is to tackle with it is to reindex all the tables after the >> operation. Currently we are doing it when the datatype of indexed >> columns change. So it should be possible, but very expensive.
> Why not just disallow dropping a value that's still in use? That's > certainly what I would prefer to happen by default... Even ignoring the hidden-values-in-indexes problem, how would you discover that it's still in use? Not to mention preventing new insertions after you look? regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers