Rename VACOPT_NOWAIT to VACOPT_SKIP_LOCKED
Michael Paquier <michael@paquier.xyz>
Rename VACOPT_NOWAIT to VACOPT_SKIP_LOCKED When it comes to SELECT ... FOR or LOCK, NOWAIT means to not wait for something to happen, and issue an error. SKIP LOCKED means to not wait for something to happen but to move on without issuing an error. The internal option of autovacuum and autoanalyze mentioned above, used only when wraparound is not involved was named NOWAIT, but behaves like SKIP LOCKED which is confusing. Author: Nathan Bossart Discussion: https://postgr.es/m/20180307050345.GA3095@paquier.xyz
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/commands/analyze.c | modified | +1 −1 |
| src/backend/commands/vacuum.c | modified | +1 −1 |
| src/backend/postmaster/autovacuum.c | modified | +1 −1 |
| src/include/nodes/parsenodes.h | modified | +2 −1 |
Discussion
- BUG #14941: Vacuum crashes 42 messages · 2017-12-01 → 2018-04-06