Jan 2020

1 commit
Fix concurrent indexing operations with temporary tables
22 Jan 2020Michael Paquiermaster13beta1REL_19_STABLE13beta1REL_18_STABLE13beta1REL_17_STABLE13beta1REL_16_STABLE13beta1REL_15_STABLE13beta1REL_14_STABLE13beta1REL_13_STABLE13beta1+6 more
LLM analysis, 100% suremodified before commitmoderate changesfrom patchset #310 of 3 reviewers saw the final version

The commit matches #31 with an additional DefineIndex() change selecting lockmode from the local concurrent flag rather than stmt->concurrent. It also adds CONCURRENTLY to the temporary-schema regression test and fixes a comment typo in src/backend/commands/tablecmds.c.

  • Andres Freundsaw an earlier versiontrailerIn #14 and #19, he examined DROP INDEX safety, requested centralized checks and additional tests, and revised documentation wording before subsequent concurrency and locking changes.
  • Álvaro Herrerasaw an earlier versiontrailerIn #18, he reviewed helper naming and concurrent-flag handling, before later revisions changed the helper and DROP INDEX implementation.
  • Heikki Linnakangassaw an earlier versiontrailerIn #23, #27, and #29, he reviewed locking, abstraction, and IndexStmt mutation and supplied a revised patch, after which DROP INDEX's decision moved back to RemoveRelations() and the committed CREATE INDEX lock selection changed.

Credits across 1 commit

Author
Heikki Linnakangas1
Michael Paquier1
Reviewer
Alvaro Herrera1
Andres Freund1
Heikki Linnakangas1
Reported by
Manuel Rigger1
Committer
Michael Paquier1