Re: psql on Windows systems - Mailing list pgsql-admin

From Holger Jakobs
Subject Re: psql on Windows systems
Date
Msg-id 5e8626de-f7df-45c3-9985-f3cb6ec4e7ea@jakobs.com
Whole thread Raw
In response to Re: psql on Windows systems  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: psql on Windows systems
List pgsql-admin
Am 05.07.24 um 20:23 schrieb Tom Lane:
Holger Jakobs <holger@jakobs.com> writes:
Recently I had to use PostgreSQL on a Windows based system, and I was 
surprised that the psql tool behaves differently, when it comes to the 
functionality of the readline library.
Yeah, readline doesn't exist for Windows last I heard.  At least,
we don't try to build with it there.
			regards, tom lane

"Microsoft offers its Windows Subsystem for Linux (WSL) as an installable add-on for Windows 10 and Windows 11. It's basically a separate packaged version of the Linux kernel that runs as a Windows service, and you can build and install readline-8.2 within that environment." Maybe it works when the machine doing the compiling and packaging has WSL installed. Would be worth trying, imho.

The license of the Gnu readline library shouldn't impose any problem, as other BSD/MIT-licensed software, like Tcl (https://tcl-lang.org) also uses it.

Kind Regards,
Holger

--

Holger Jakobs, Bergisch Gladbach

pgsql-admin by date:

Previous
From: Holger Jakobs
Date:
Subject: Re: psql on Windows systems
Next
From: Laurenz Albe
Date:
Subject: Re: How to restrict schema size per tenant