Re: BUG #18083: not compile PostgreSQL module in Qt with GCC 11.2 compiler - Mailing list pgsql-bugs

From Thomas Munro
Subject Re: BUG #18083: not compile PostgreSQL module in Qt with GCC 11.2 compiler
Date
Msg-id CA+hUKGJes0EOyfgEtL6vLdtvOQgdmwLVr1K00NPP_7MHY4bc1w@mail.gmail.com
Whole thread Raw
In response to Re: BUG #18083: not compile PostgreSQL module in Qt with GCC 11.2 compiler  (Thomas Munro <thomas.munro@gmail.com>)
Responses Re: BUG #18083: not compile PostgreSQL module in Qt with GCC 11.2 compiler
Re: BUG #18083: not compile PostgreSQL module in Qt with GCC 11.2 compiler
List pgsql-bugs
On Tue, Sep 5, 2023 at 2:25 PM Thomas Munro <thomas.munro@gmail.com> wrote:
> What is C:/Prg/PostgreSQL/15/include/pthread.h, though?
>
> Searching the web finds other complaints like this, and in one case it
> involved the Chocolatey postgresql package, and peering at
> https://github.com/majkinetor/au-packages/blob/master/postgresql/tools/chocolateyInstall.ps1
> reveals that Choco fetches the EnterpriseDB build.  I know that a long
> time ago PostgreSQL used to use the pthread-win32 package...  is it
> possible that the EntrepriseDB installer is still installing that
> project's pthread.h?  That theory might be a long shot, but
> *something* seems fishy here.

Navadvipa confirmed privately that it was the EDB installer (via
postgresql.org), and it's clearly the pthread.h from
https://sourceware.org/pthreads-win32/.  CCing Sandeep who might know
who to ask why that's being installed and check if it's a mistake.
Nothing in PostgreSQL itself should need <pthread.h> on Windows AFAIK
(I think that changed some time around 2007, commit 96b17190?).



pgsql-bugs by date:

Previous
From: Duke Astar
Date:
Subject: Re: BUG #18082: coredump during initdb
Next
From: PG Bug reporting form
Date:
Subject: BUG #18085: Error in documentation