aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/numeric.c
diff options
context:
space:
mode:
authorAlvaro Herrera <alvherre@alvh.no-ip.org>2015-04-02 13:34:50 -0300
committerAlvaro Herrera <alvherre@alvh.no-ip.org>2015-04-02 13:34:50 -0300
commit00ee6c7672fe0bf9448bc744b5e3408f5ebffc2e (patch)
tree3773fa4afbb21629f91989775b57ac411529a14b /src/backend/utils/adt/numeric.c
parentc02ef232c14d65741df939ddd633d8fed538a580 (diff)
downloadpostgresql-00ee6c7672fe0bf9448bc744b5e3408f5ebffc2e.tar.gz
postgresql-00ee6c7672fe0bf9448bc744b5e3408f5ebffc2e.zip
autovacuum: Fix polarity of "wraparound" variable
Commit 0d831389749a3 inadvertently reversed the meaning of the wraparound variable. This causes vacuums which are not required for wraparound to wait for locks to be acquired, and what is worse, it allows wraparound vacuums to skip locked pages. Bug reported by Jeff Janes in http://www.postgresql.org/message-id/CAMkU=1xmTEiaY=5oMHsSQo5vd9V1Ze4kNLL0qN2eH0P_GXOaYw@mail.gmail.com Analysis and patch by Kyotaro HORIGUCHI
Diffstat (limited to 'src/backend/utils/adt/numeric.c')
0 files changed, 0 insertions, 0 deletions