pgsql: Re-think guts of DROP INDEX CONCURRENTLY.
pgsql: Re-think guts of DROP INDEX CONCURRENTLY.
От:
Simon Riggs <simon@2ndQuadrant.com>
Дата:
Re-think guts of DROP INDEX CONCURRENTLY. Concurrent behaviour was flawed when using a two-step process, so add an additional phase of processing to ensure concurrency for both SELECTs and INSERT/UPDATE/DELETEs. Backpatch to 9.2 Andres Freund, tweaked by me Branch ------ REL9_2_STABLE Details ------- http://git.postgresql.org/pg/commitdiff/5da1c4b7cc46af5d54912447ee51332d1dbd681c Modified Files -------------- src/backend/catalog/index.c | 104 +++++++++++++++++++++++++++++++++++++------ 1 files changed, 90 insertions(+), 14 deletions(-)