有没有适用于 linux 的好的 PostgreSQL 客户端?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/898255/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-10 22:15:32  来源:igfitidea点击:

Are there any good PostgreSQL clients for linux?

linuxpostgresqlclientdatabase-administration

提问by senotrusov

I am frustrated of not having a good Linux GUI administration and development tool for PostgreSQL.

我对 PostgreSQL 没有一个好的 Linux GUI 管理和开发工具感到沮丧。

pgAdmin III is buggy and unusable piece of... hmm, software, compared to Windows-only PostgreSQL Maestro and EMS PostgreSQL manager.

与仅限 Windows 的 PostgreSQL Maestro 和 EMS PostgreSQL 管理器相比,pgAdmin III 是有缺陷且无法使用的……嗯,软件。

phpPgaAmin does not looks promising.

phpPgaAmin 看起来并不乐观。

EMS PostgreSQL manager can work under Wine, but such setup have a number of issues.

EMS PostgreSQL 管理器可以在 Wine 下工作,但这样的设置有很多问题。

Requirements are:

要求是:

  1. Table data editing and browsing for large tables (1M+), able to jump by FK or some master-slave editing, GUI filtering and so on.
  2. ER diagrams with in-place schema editing
  3. Schema editing and browsing with all useful GUI support
  4. Schema changes log to put into DB versioning (migrations script).
  5. Tabbed interface to be able to work with a number of tables and SQL queries at once.
  1. 大表(1M+)的表数据编辑和浏览,可以FK跳转或一些主从编辑,GUI过滤等。
  2. 带有就地模式编辑的 ER 图
  3. 使用所有有用的 GUI 支持进行模式编辑和浏览
  4. 要放入数据库版本控制(迁移脚本)的架构更改日志。
  5. 选项卡式界面能够同时处理多个表和 SQL 查询。

And so on.

等等。

Any ideas?

有任何想法吗?

回答by Stefan Kendall

Have you tried Squirrel SQL?

您是否尝试过 Squirrel SQL?

http://squirrel-sql.sourceforge.net/

http://squirrel-sql.sourceforge.net/

回答by Leonardo Delfino

At the moment I suggest the use of DBeaver (http://dbeaver.jkiss.org/download/) that supports the Postgres and many other databases.

目前我建议使用支持 Postgres 和许多其他数据库的 DBeaver ( http://dbeaver.jkiss.org/download/)。

[2016 update] Actually i'm using DataGrip https://www.jetbrains.com/datagrip/is a tool developed by Intellij

[2016 更新] 实际上我使用的是 DataGrip https://www.jetbrains.com/datagrip/是 Intellij 开发的工具

回答by Elijah

Postgresql Tools

PostgreSQL 工具

  • Phppgadmin- I think you should reevaluate your outright dismissal of this tool. It has a larger feature set than PgAdmin III and allows you to connect over the local socket rather than strictly over the tcp port via JDBC.
  • Aqua Data Studio- I used to use this tool quite often, but I'm unsure of its current status. It supports ER maps and has a number of features that are useful to developers.
  • Phppgadmin- 我认为你应该重新评估你对这个工具的彻底解雇。它具有比 PgAdmin III 更大的功能集,并允许您通过本地套接字进行连接,而不是通过 JDBC 严格通过 tcp 端口进行连接。
  • Aqua Data Studio- 我曾经经常使用这个工具,但我不确定它的当前状态。它支持 ER 地图并具有许多对开发人员有用的功能。

I doubt you will find everything that you want in a single tool. I a lot of development using Postgresql and I still find myself the most efficent with a nice text editor and the command line psql tool.

我怀疑您是否会在单个工具中找到您想要的一切。我使用 Postgresql 进行了大量开发,但我仍然发现自己使用漂亮的文本编辑器和命令行 psql 工具效率最高。

回答by Mirek Rusin

At the momen Navicat seems to produce the best admin tools for databases IMHO.

目前,Navicat 似乎为数据库提供了最好的管理工具恕我直言。

Check out their free version (premium supporting multiple databases including postgres or just postgres version: ...for postgresql)

查看他们的免费版本(高级版支持多个数据库,包括 postgres 或仅 postgres 版本:...用于 postgresql)

http://navicat.com/en/download/download.html

http://navicat.com/en/download/download.html