From: | Andres Freund <andres(at)anarazel(dot)de> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: windows: msvc: Define STDIN/OUT/ERR_FILENO. |
Date: | 2022-07-19 00:53:47 |
Message-ID: | E1oDbUg-000C9e-Fv@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
windows: msvc: Define STDIN/OUT/ERR_FILENO.
Because they are not available we've used _fileno(stdin) in some places, but
that doesn't reliably work, because stdin might be closed. This is the
prerequisite of the subsequent commit, fixing a failure introduced in
76e38b37a5.
Author: Andres Freund <andres(at)anarazel(dot)de>
Reported-By: Sandeep Thakkar <sandeep(dot)thakkar(at)enterprisedb(dot)com>
Message-Id: 20220520164558(dot)ozb7lm6unakqzezi(at)alap3(dot)anarazel(dot)de (on pgsql-packagers)
Backpatch: 15-, where 76e38b37a5 came in
Branch
------
REL_15_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/92f478657c5544eba560047c39eba8a030ddb83e
Modified Files
--------------
src/include/port/win32_msvc/unistd.h | 8 ++++++++
1 file changed, 8 insertions(+)
From | Date | Subject | |
---|---|---|---|
Next Message | Michael Paquier | 2022-07-19 01:55:37 | pgsql: Add more tests for REINDEX DATABASE/SYSTEM with relfilenode chan |
Previous Message | Tom Lane | 2022-07-18 23:43:26 | pgsql: Improve perl style in ecpg's parser-construction scripts. |