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

From: Daniel Gustafsson <daniel(at)yesql(dot)se>
To: Thomas Munro <thomas(dot)munro(at)gmail(dot)com>
Cc: Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>, 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 12:55:39
Message-ID: 160C3F41-16C0-4DCF-AC30-222F42905058@yesql.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

> On 5 Sep 2023, at 10:57, Thomas Munro <thomas(dot)munro(at)gmail(dot)com> wrote:
>
> 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?).

The 15.4 ZIP archive from EDB does contain pthread.h in ./include, but the
16rc1 ZIP archive does not. The 16rc1 does not contain all the additional
packages though so it might come from there?

--
Daniel Gustafsson

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message PG Bug reporting form 2023-09-05 13:08:40 BUG #18087: pg_visibility: false positives in pg_check_visible
Previous Message Branko Radovanovic 2023-09-05 11:57:35 Re: BUG #18081: Spurious "function with OID ###### does not exist" error