如何在Windows下完成psql?

发布于 2024-08-01 16:14:52 字数 78 浏览 2 评论 0原文

Cygwin或UNIX的psql命令有补全功能 psql 中没有适用于 Windows 本机的函数。 如何在Windows下完成psql?

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?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

離殇 2024-08-08 16:14:52

现在已经是 2018 年了,我仍然没有在 Windows 上实现制表符补全功能。

但幸运的是,您可以在最新的 Windows 10 上的适用于 Linux 的 Windows 子系统中运行 psql。 https://learn.microsoft.com/en-us/windows/wsl/install-win10
制表符补全在那里工作。

It's now 2018 and I still haven't managed the tab completion to work on Windows.

But fortunately you can run psql in the Windows Subsystem for Linux on the latest Windows 10. https://learn.microsoft.com/en-us/windows/wsl/install-win10
Tab completion works there.

酒儿 2024-08-08 16:14:52

Readline 在 Windows 上默认处于禁用状态。 您可以在启用它的情况下进行重建 - 但对于大多数非英语语言环境来说它会被破坏。 例如,在大多数西欧语言环境中,您无法再键入反斜杠 - 这是使用 readline 的基本字符。 这是 readline 中的一个错误,但上次我检查他们对 win32 平台的兴趣为零,并且不会修复它。

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文