pgsql: Try to fix spurious DSM failures on Windows.

From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Try to fix spurious DSM failures on Windows.
Date: 2014-04-16 16:07:43
Message-ID: E1WaSND-00008o-MS@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Robert Haas 2014-04-16 16:24:20 pgsql: Add to_regprocedure() and to_regoperator().
Previous Message Bruce Momjian 2014-04-16 15:24:44 pgsql: doc: fix json_extract_path_text() typo by adding jsonb