Re: Getting PSQL in Windows to support TAB/Autocomplete via modified readline... - Mailing list pgsql-general

From Dominique Devienne
Subject Re: Getting PSQL in Windows to support TAB/Autocomplete via modified readline...
Date
Msg-id CAFCRh-8iZ=ER3ncj1RTxiwfUnifbKm9-_ai9gEZbocQJ=uEoxg@mail.gmail.com
Whole thread Raw
In response to Re: Getting PSQL in Windows to support TAB/Autocomplete via modified readline...  (Kirk Wolak <wolakk@gmail.com>)
Responses Re: Getting PSQL in Windows to support TAB/Autocomplete via modified readline...  (Kirk Wolak <wolakk@gmail.com>)
List pgsql-general
On Mon, Nov 21, 2022 at 6:12 PM Kirk Wolak <wolakk@gmail.com> wrote:
> On Mon, Nov 21, 2022 at 11:01 AM Dominique Devienne <ddevienne@gmail.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



pgsql-general by date:

Previous
From: Bryn Llewellyn
Date:
Subject: Re: Seeking practice recommendation: is there ever a use case to have two or more superusers?
Next
From: Adrian Klaver
Date:
Subject: Re: Seeking practice recommendation: is there ever a use case to have two or more superusers?