Re: Cygwin support

From: Kirk Wolak <wolakk(at)gmail(dot)com>
To: Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Andrew Dunstan <andrew(at)dunslane(dot)net>, Aleksander Alekseev <aleksander(at)timescale(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Cygwin support
Date: 2025-08-20 18:52:19
Message-ID: CACLU5mRoxC=n2Sz=mJWqHD_KBBkM4=2vstFg+Ks_S-bP4DsWkw@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, Apr 22, 2025 at 12:55 PM Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)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.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Kirk Wolak 2025-08-20 19:09:28 Re: Retail DDL
Previous Message Alexander Lakhin 2025-08-20 18:00:00 Re: Non-reproducible AIO failure