pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Holger Jakobs <holger@jakobs.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-admin@lists.postgresql.org
Subject: Re: psql on Windows systems
Date: Fri, 5 Jul 2024 20:47:22 +0200
Message-ID: <5e8626de-f7df-45c3-9985-f3cb6ec4e7ea@jakobs.com> (raw)
In-Reply-To: <326176.1720203825@sss.pgh.pa.us>
References: <c7ac2c4e-b3c8-4b36-b5ac-bf401dc255e5@jakobs.com>
	<326176.1720203825@sss.pgh.pa.us>

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

The page https://tiswww.cwru.edu/php/chet/readline/rltop.html says:
"Microsoft offers its Windows Subsystem for Linux (WSL) 
<https://msdn.microsoft.com/en-us/commandline/wsl/about; 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

view thread (8+ messages)  latest in thread

Message-ID: <5e8626de-f7df-45c3-9985-f3cb6ec4e7ea@jakobs.com>
Permalink:  ../5e8626de-f7df-45c3-9985-f3cb6ec4e7ea@jakobs.com/
Also on:    postgresql.org/message-id/5e8626de-f7df-45c3-9985-f3cb6ec4e7ea@jakobs.com

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: holger@jakobs.com, tgl@sss.pgh.pa.us, pgsql-admin@lists.postgresql.org
  Subject: Re: psql on Windows systems
  In-Reply-To: <5e8626de-f7df-45c3-9985-f3cb6ec4e7ea@jakobs.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox