HiveBrain v1.2.0
Get Started
← Back to all entries
patternsqlMinor

psql autocomplete on windows

Submitted by: @import:stackexchange-dba··
0
Viewed 0 times
psqlautocompletewindows

Problem

Is it possible to make autocomplete working in psql on Windows?
As I know from Linux users, they can make use pressing TAB to autocomplete, which is quite handy, I guess.

Solution

psql's autocompletion comes by virtue of the readline or libedit library, whichever was configured when PostgreSQL was built from source. The Windows binaries were built without that support, most likely because there are no Windows ports of these libraries. If you port either of these libraries to Windows, you can build PostgreSQL from source and enjoy command line completion.

Context

StackExchange Database Administrators Q#310768, answer score: 6

Revisions (0)

No revisions yet.