]> granicus.if.org Git - postgresql/commit
Try to fix spurious DSM failures on Windows.
authorRobert Haas <rhaas@postgresql.org>
Wed, 16 Apr 2014 16:04:44 +0000 (12:04 -0400)
committerRobert Haas <rhaas@postgresql.org>
Wed, 16 Apr 2014 16:04:44 +0000 (12:04 -0400)
commit1a81daab8be9a0b3769a2660db44a56a6035e34a
tree3ca3fdba6aa2edb4717765ac094a6ce099b7e210
parented4a26260c6ebd7948eacc42eddae1e898239f6e
Try to fix spurious DSM failures on Windows.

Apparently, Windows can sometimes return an error code even when the
operation actually worked just fine.  Rearrange the order of checks
according to what appear to be the best practices in this area.

Amit Kapila
src/backend/storage/ipc/dsm_impl.c