There is a completion function by the psql command of Cygwin or UNIX There is not the function in psql for a Windows native. How to make psql completion with Windows? may be need readline!?

1 Answer 1


Readline is disabled by default on Windows. You can rebuild with it enabled - but it is broken for most non-english locales. For example, in most western european locales you can no longer type backslash - an essential character to use readline. This is a bug in readline, but last time I checked they had zero interest in the win32 platform and won't fix it.

  • Is the missing readline also the reason for the arrow up not working? I would expect arrow up to repeat the last input.
    – David
    Oct 11, 2010 at 9:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.