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

From: Dominique Devienne <ddevienne(at)gmail(dot)com>
To: Kirk Wolak <wolakk(at)gmail(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, 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 18:10:43
Message-ID: CAFCRh-8iZ=ER3ncj1RTxiwfUnifbKm9-_ai9gEZbocQJ=uEoxg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Mon, Nov 21, 2022 at 6:12 PM Kirk Wolak <wolakk(at)gmail(dot)com> wrote:
> On Mon, Nov 21, 2022 at 11:01 AM Dominique Devienne <ddevienne(at)gmail(dot)com> wrote:
> > FWIW, I've been using https://github.com/arangodb/linenoise-ng for Linux and Windows,
>
> I've look at linenoise and without tab/autocomplete it's not worth the effort, IMO.

Not sure to understand... Linenoise* has completion hooks.
Completion is something done in the app, not readline/linenoise.
Only the app has the context to know what to complete the text with.
But perhaps I'm missing something? --DD

https://github.com/arangodb/linenoise-ng/blob/master/include/linenoise.h

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2022-11-21 18:34:17 Re: Seeking practice recommendation: is there ever a use case to have two or more superusers?
Previous Message Bryn Llewellyn 2022-11-21 17:40:18 Re: Seeking practice recommendation: is there ever a use case to have two or more superusers?