Re: Getting PSQL in Windows to support TAB/Autocomplete via modified readline...

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Kirk Wolak <wolakk(at)gmail(dot)com>
Cc: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: Getting PSQL in Windows to support TAB/Autocomplete via modified readline...
Date: 2022-11-21 15:58:06
Message-ID: 3168699.1669046286@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Kirk Wolak <wolakk(at)gmail(dot)com> writes:
> We have our team of Windows developers, leveraging PSQL. But honestly,
> it feels crippled after using PSQL in Linux for any length of time. Losing
> auto-complete sucks (multi-line query recall/editing is lost as well).

> In researching this problem, it appears that the decision was made like
> 17yrs ago, when windows did not have a realistic "terminal" type
> interface. Assuming we target Windows 8.1 or higher, I believe this goes
> away.

It'd certainly be nice if we could use Readline on Windows. I do not
think we want to buy into maintaining our own fork of Readline, if that's
what you're trying to suggest. If it "just works" now, that'd be great.
Otherwise, maybe you should be speaking to the Readline maintainers
about what changes are needed in it?

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Dominique Devienne 2022-11-21 16:01:39 Re: Getting PSQL in Windows to support TAB/Autocomplete via modified readline...
Previous Message Kirk Wolak 2022-11-21 15:25:11 Getting PSQL in Windows to support TAB/Autocomplete via modified readline...