Sometimes the output to the stdout in Windows disappears - Mailing list pgsql-hackers

From Victor Spirin
Subject Sometimes the output to the stdout in Windows disappears
Date
Msg-id ac976d8c-03df-d6b8-025c-15a2de8d9af1@postgrespro.ru
Whole thread Raw
Responses Re: Sometimes the output to the stdout in Windows disappears
List 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


Attachment

pgsql-hackers by date:

Previous
From: Ranier Vilela
Date:
Subject: Re: Clang UndefinedBehaviorSanitize (Postgres14) Detected undefined-behavior
Next
From: Alvaro Herrera
Date:
Subject: LogwrtResult contended spinlock