pgsql/src/backend/storage/buffer bufmgr.c - Mailing list pgsql-committers

From Vadim B. Mikheev - CVS
Subject pgsql/src/backend/storage/buffer bufmgr.c
Date
Msg-id 200103211013.f2LADUM55616@hub.org
Whole thread Raw
List pgsql-committers
CVSROOT:    /home/projects/pgsql/cvsroot
Module name:    pgsql
Changes by:    vadim@hub.org    01/03/21 05:13:30

Modified files:
    src/backend/storage/buffer: bufmgr.c

Log message:
    Check bufHdr->cntxDirty and call StartBufferIO in BufferSync()
    *before* acquiring shlock on buffer context. This way we should be
    protected against conflicts with FlushRelationBuffers.
    (Seems we never do excl lock and then StartBufferIO for the same
    buffer, so there should be no deadlock here, - but we'd better
    check this very soon).


pgsql-committers by date:

Previous
From: Hiroshi Inoue
Date:
Subject: pgsql/src/interfaces/odbc multibyte.c
Next
From: Bruce Momjian - CVS
Date:
Subject: pgsql/doc TODO