如何获得与 PostgreSQL 9.4 (Ubuntu 14.10 x64) 一起正常工作的 pgAdmin III 版本?

How to get a version of pgAdmin III working correctly with the PostgreSQL 9.4 (Ubuntu 14.10 x64)?

我已经在 Ubuntu 14.10 x64[=31 上安装了 postgresql-9.4pgAdmin III =]:

sudo apt-get update && sudo apt-get dist-upgrade
sudo apt-get install postgresql-9.4
sudo apt-get pgadmin3

但是使用 pgAdminPostgreSQL 我遇到了警告

Warning: The server you are connecting to is not a version that is supported by this release of pgAdmin III.

pgAdmin III may not function as expected.

Supported server versions are 8.4 to 9.3.

1) 如何获取我使用的 pgAdmin III 版本?

2) 如何卸载当前版本的 pgAdmin 并安装正确版本的 pgAdmin?

谢谢。

这似乎是一个已知错误:link

错误线程建议尝试 使用 pgAdmin 1.20。您可以在这里下载:link

PostgreSQL 维护一个 apt 包的存储库。您可以按照 https://wiki.postgresql.org/wiki/Apt

上他们的 wiki 上的说明进行操作

基本上,它们归结为:

# add the repository
sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt/ $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list'

# install their key
wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add -

sudo apt-get update

然后

sudo apt-get install pgadmin3

我在 Ubuntu 12.04 上工作得很好,我现在有 pgadmin3 v. 1.20。