Re: BUG #18083: not compile PostgreSQL module in Qt with GCC 11.2 compiler

From: Thomas Munro <thomas(dot)munro(at)gmail(dot)com>
To: Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>
Cc: navadvipa(dot)chandra(dot)das(at)nizhnyaya-navadvipa(dot)ru, pgsql-bugs(at)lists(dot)postgresql(dot)org, Sandeep Thakkar <sandeep(dot)thakkar(at)enterprisedb(dot)com>
Subject: Re: BUG #18083: not compile PostgreSQL module in Qt with GCC 11.2 compiler
Date: 2023-09-05 08:57:11
Message-ID: CA+hUKGJes0EOyfgEtL6vLdtvOQgdmwLVr1K00NPP_7MHY4bc1w@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Tue, Sep 5, 2023 at 2:25 PM Thomas Munro <thomas(dot)munro(at)gmail(dot)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?).

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message PG Bug reporting form 2023-09-05 09:32:53 BUG #18085: Error in documentation
Previous Message Duke Astar 2023-09-05 07:33:27 Re: BUG #18082: coredump during initdb