Re: Cygwin support - Mailing list pgsql-hackers

From Kirk Wolak
Subject Re: Cygwin support
Date
Msg-id CACLU5mRoxC=n2Sz=mJWqHD_KBBkM4=2vstFg+Ks_S-bP4DsWkw@mail.gmail.com
Whole thread Raw
In response to Re: Cygwin support  (Laurenz Albe <laurenz.albe@cybertec.at>)
List pgsql-hackers
On Tue, Apr 22, 2025 at 12:55 PM Laurenz Albe <laurenz.albe@cybertec.at> wrote:
On Tue, 2025-04-22 at 10:26 -0400, Tom Lane wrote:
> I vaguely recall some discussion about whether building with readline
> has become possible under MSVC.  I think it'd make a lot of people
> happy if that could happen (but I hasten to add that I'm not
> volunteering).

https://postgr.es/m/CACLU5mThm-uCtERMVHMoGED2EPfyS54j83WB20s_BmzVQuMkpg%40mail.gmail.com

Seems like Kirk didn't pursue this further.

Laurenz, I was a bit early and the new build system and properly understanding how to link this in got in the way.
As feedback, there are a lot of rough edges with readline() under windows.  (I've switched to WSL which is Ubuntu,
and tab completion works).

Since our big PG client went live, I will queue this up to take a peek at it again.  (They already fixed the GIANT if/then
condition that was breaking the MSVC build that the auto-complete was using).
I believe the other 2-3 issues I had was where the system looks for the "configuration" files for readline.
And the feedback was clear:  We cannot modify the readline source.  We must use it as published.

I also thought one of the build guys said readline "might" come along for the ride with the newer build...

Thanks for the reminder, this is back en queue for me to look at.
 

pgsql-hackers by date:

Previous
From: Alexander Lakhin
Date:
Subject: Re: Non-reproducible AIO failure
Next
From: Kirk Wolak
Date:
Subject: Re: Retail DDL