Sometimes the output to the stdout in Windows disappears

Поиск
Список
Период
Сортировка
От Victor Spirin
Тема Sometimes the output to the stdout in Windows disappears
Дата
Msg-id ac976d8c-03df-d6b8-025c-15a2de8d9af1@postgrespro.ru
обсуждение исходный текст
Ответы Re: Sometimes the output to the stdout in Windows disappears  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Hi!

Sometimes the output to stdout on Windows on multicore machines does not 
go through after connecting and disconnecting to the server using the 
PQconnectdbParams and PQfinish functions. I tested on 6 cores.

First we appeared this in some pgbench tests.  Then we found that this 
happens on any console program using PQconnectdbParams and PQfinish.

I am attaching a patch and a script for testing.

-- 
Victor Spirin
Postgres Professional:http://www.postgrespro.com
The Russian Postgres Company


Вложения

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

Предыдущее
От: Ranier Vilela
Дата:
Сообщение: Re: Clang UndefinedBehaviorSanitize (Postgres14) Detected undefined-behavior
Следующее
От: Alvaro Herrera
Дата:
Сообщение: LogwrtResult contended spinlock