pgsql: windows: msvc: Define STDIN/OUT/ERR_FILENO.

Поиск
Список
Период
Сортировка
От Andres Freund
Тема pgsql: windows: msvc: Define STDIN/OUT/ERR_FILENO.
Дата
Msg-id E1oDbUg-000C9e-Fv@gemulon.postgresql.org
обсуждение исходный текст
Список 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@anarazel.de>
Reported-By: Sandeep Thakkar <sandeep.thakkar@enterprisedb.com>
Message-Id: 20220520164558.ozb7lm6unakqzezi@alap3.anarazel.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(+)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Improve perl style in ecpg's parser-construction scripts.
Следующее
От: Michael Paquier
Дата:
Сообщение: pgsql: Add more tests for REINDEX DATABASE/SYSTEM with relfilenode chan