Re: Should I implement DROP INDEX CONCURRENTLY?

Поиск
Список
Период
Сортировка
Искать
От
Peter Eisentraut
Тема
Re: Should I implement DROP INDEX CONCURRENTLY?
Дата
Msg-id
1326819964.2820.8.camel@vanquo.pezone.net
Ответ на
Список
Дерево обсуждения
Should I implement DROP INDEX CONCURRENTLY? Daniel Farina <daniel@heroku.com>
Re: Should I implement DROP INDEX CONCURRENTLY? Peter Eisentraut <peter_e@gmx.net>
Re: Should I implement DROP INDEX CONCURRENTLY? Simon Riggs <simon@2ndQuadrant.com>
Re: Should I implement DROP INDEX CONCURRENTLY? Robert Haas <robertmhaas@gmail.com>
Re: Should I implement DROP INDEX CONCURRENTLY? Peter Eisentraut <peter_e@gmx.net>
Re: Should I implement DROP INDEX CONCURRENTLY? Robert Haas <robertmhaas@gmail.com>
Re: Should I implement DROP INDEX CONCURRENTLY? Peter Eisentraut <peter_e@gmx.net>
Re: Should I implement DROP INDEX CONCURRENTLY? Robert Haas <robertmhaas@gmail.com>
Re: Should I implement DROP INDEX CONCURRENTLY? Simon Riggs <simon@2ndQuadrant.com>
Re: Should I implement DROP INDEX CONCURRENTLY? Robert Haas <robertmhaas@gmail.com>
Re: Should I implement DROP INDEX CONCURRENTLY? Simon Riggs <simon@2ndquadrant.com>
Re: Should I implement DROP INDEX CONCURRENTLY? Robert Haas <robertmhaas@gmail.com>
Re: Should I implement DROP INDEX CONCURRENTLY? Simon Riggs <simon@2ndQuadrant.com>
Re: Should I implement DROP INDEX CONCURRENTLY? Robert Haas <robertmhaas@gmail.com>
Re: Should I implement DROP INDEX CONCURRENTLY? Simon Riggs <simon@2ndQuadrant.com>
Re: Should I implement DROP INDEX CONCURRENTLY? Peter Eisentraut <peter_e@gmx.net>
Re: Should I implement DROP INDEX CONCURRENTLY? Simon Riggs <simon@2ndQuadrant.com>
Re: Should I implement DROP INDEX CONCURRENTLY? Robert Haas <robertmhaas@gmail.com>
Re: Should I implement DROP INDEX CONCURRENTLY? Robert Haas <robertmhaas@gmail.com>
Re: Should I implement DROP INDEX CONCURRENTLY? Robert Haas <robertmhaas@gmail.com>
Re: Should I implement DROP INDEX CONCURRENTLY? Simon Riggs <simon@2ndQuadrant.com>
Re: Should I implement DROP INDEX CONCURRENTLY? Robert Haas <robertmhaas@gmail.com>
Re: Should I implement DROP INDEX CONCURRENTLY? Merlin Moncure <mmoncure@gmail.com>
Re: Should I implement DROP INDEX CONCURRENTLY? Tom Lane <tgl@sss.pgh.pa.us>
unlink for DROPs after releasing locks (was Re: Should I implement DROP INDEX CONCURRENTLY?) Noah Misch <noah@leadboat.com>
Re: unlink for DROPs after releasing locks (was Re: Should I implement DROP INDEX CONCURRENTLY?) Robert Haas <robertmhaas@gmail.com>
Re: unlink for DROPs after releasing locks (was Re: Should I implement DROP INDEX CONCURRENTLY?) Robert Haas <robertmhaas@gmail.com>
Re: unlink for DROPs after releasing locks (was Re: Should I implement DROP INDEX CONCURRENTLY?) Robert Haas <robertmhaas@gmail.com>
Re: Should I implement DROP INDEX CONCURRENTLY? Daniel Farina <daniel@heroku.com>
Re: Should I implement DROP INDEX CONCURRENTLY? Daniel Farina <daniel@heroku.com>
Re: Should I implement DROP INDEX CONCURRENTLY? Simon Riggs <simon@2ndQuadrant.com>
Re: Should I implement DROP INDEX CONCURRENTLY? Jim Nasby <jim@nasby.net>
Re: Should I implement DROP INDEX CONCURRENTLY? Tom Lane <tgl@sss.pgh.pa.us>
Re: Should I implement DROP INDEX CONCURRENTLY? Simon Riggs <simon@2ndquadrant.com>
Removing freelist (was Re: Should I implement DROP INDEX CONCURRENTLY?) Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Re: Removing freelist (was Re: Should I implement DROP INDEX CONCURRENTLY?) Jim Nasby <jim@nasby.net>
Re: Removing freelist (was Re: Should I implement DROP INDEX CONCURRENTLY?) Robert Haas <robertmhaas@gmail.com>
Re: Removing freelist (was Re: Should I implement DROP INDEX CONCURRENTLY?) Tom Lane <tgl@sss.pgh.pa.us>
Re: Removing freelist (was Re: Should I implement DROP INDEX CONCURRENTLY?) Robert Haas <robertmhaas@gmail.com>
Re: Removing freelist (was Re: Should I implement DROP INDEX CONCURRENTLY?) Tom Lane <tgl@sss.pgh.pa.us>
Re: Removing freelist (was Re: Should I implement DROP INDEX CONCURRENTLY?) Robert Haas <robertmhaas@gmail.com>
Re: Removing freelist (was Re: Should I implement DROP INDEX CONCURRENTLY?) Simon Riggs <simon@2ndQuadrant.com>
Re: Removing freelist (was Re: Should I implement DROP INDEX CONCURRENTLY?) Simon Riggs <simon@2ndQuadrant.com>
Re: Removing freelist (was Re: Should I implement DROP INDEX CONCURRENTLY?) Jeff Janes <jeff.janes@gmail.com>
Re: Removing freelist (was Re: Should I implement DROP INDEX CONCURRENTLY?) Jeff Janes <jeff.janes@gmail.com>
Re: Should I implement DROP INDEX CONCURRENTLY? Simon Riggs <simon@2ndQuadrant.com>
Re: Should I implement DROP INDEX CONCURRENTLY? Jeff Janes <jeff.janes@gmail.com>
Re: Should I implement DROP INDEX CONCURRENTLY? Jim Nasby <jim@nasby.net>
Re: Should I implement DROP INDEX CONCURRENTLY? Tom Lane <tgl@sss.pgh.pa.us>
Re: Should I implement DROP INDEX CONCURRENTLY? Robert Haas <robertmhaas@gmail.com>
Re: Should I implement DROP INDEX CONCURRENTLY? Jim Nasby <jim@nasby.net>
On mån, 2012-01-16 at 14:46 -0500, Robert Haas wrote:
> On Mon, Jan 16, 2012 at 2:06 PM, Peter Eisentraut  wrote:
> > On mån, 2012-01-16 at 11:17 -0500, Robert Haas wrote:
> >> I don't see how setting indisvalid to false helps with this, because
> >> IIUC when a session sees indisvalid = false, it is supposed to avoid
> >> using the index for queries but still make new index entries when a
> >> write operation happens - but to drop an index, I think you'd need to
> >> get into a state where no one was using the index for anything at all.
> >
> > ISTM that one would need to set indisready to false instead.
> 
> Maybe we should set both to false?

Well, ready = false and valid = true doesn't make any sense.  There is
only just-created -> ready -> valid.  We might as well convert that to a
single "char" column, as you had indicated in your earlier email.  But
that's independent of the proposed patch.


В списке pgsql-hackers по дате отправления
От: Peter Eisentraut
Дата:
От: Alvaro Herrera
Дата:
FAQ