pgsql: Try to fix spurious DSM failures on Windows. - Mailing list pgsql-committers

From Robert Haas
Subject pgsql: Try to fix spurious DSM failures on Windows.
Date
Msg-id E1WaSND-00008o-MS@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/1a81daab8be9a0b3769a2660db44a56a6035e34a

Modified Files
--------------
src/backend/storage/ipc/dsm_impl.c |   28 ++++++++++++++++++----------
1 file changed, 18 insertions(+), 10 deletions(-)


pgsql-committers by date:

Previous
From: Bruce Momjian
Date:
Subject: pgsql: doc: fix json_extract_path_text() typo by adding jsonb
Next
From: Robert Haas
Date:
Subject: pgsql: Add to_regprocedure() and to_regoperator().