PostgreSQL Tools

pgAdmin is the most popular and feature rich Open Source administration and development platform for PostgreSQL, the most advanced Open Source database in the world.

pgAdmin may be used on Linux, Unix, macOS and Windows to manage PostgreSQL and EDB Advanced Server 10 and above.

Screenshot of pgAdmin

Latest Videos

Want to see your pgAdmin video here? Email

Latest Blog Posts

SSH Tunneling in pgAdmin 4

Author: Rahul Shirsat, date: Jan. 6, 2022

SSH tunneling is a method of transporting arbitrary networking data over an encrypted SSH connection. It can be used to add encryption to legacy applications or implement VPNs (Virtual Private Networks). It is a way to secure the data traffic of any given application using port forwarding, basically tunneling any TCP/IP port over SSH.

pgAdmin 4 supports SSH Tunneling, i.e. it - through an intermediary proxy host - can be connected to a PostgreSQL server that resides on a network to which the client may not be able to connect directly.

This blog will guide you to setup SSH tunneling with pgAdmin 4.

Read more

Shared Servers in pgAdmin 4

Author: Pradip Parkale, date: Jan. 4, 2022

Shared servers allow the admin user to share servers with other users so that they can use them directly without adding them themselves.

Shared servers only apply when pgAdmin is running in server mode. Server mode is a multi-user mode whereas Desktop mode is single user mode. In server mode users must login before they can use pgAdmin. An initial superuser account is created when server mode is initialised, and this user can add additional superusers and non-superusers as required.

Read more

Reverse Proxying to pgAdmin with uWSGI and NGINX

Author: Yogesh Mahajan, date: Dec. 16, 2021

pgAdmin 4 is a free open source graphical management tool for PostgreSQL and derivative relational databases such as EnterpriseDB's EDB Advanced Server. pgAdmin can be installed in two modes: Server mode and Desktop mode. pgAdmin in server mode can be deployed behind different web servers like apache2, Nnginx etc.

A reverse proxy is a server that sits in front of web servers and forwards client (e.g. web browser) requests to those web servers. Reverse proxies are typically implemented to help increase security and performance.

This blog will guide you to reverse proxy to pgAdmin using Nginx and uWSGI on Debian or Ubuntu Linux. The process is the same on other Linux distributions, but file, directory, and service names may differ.

Read more

Want to see your pgAdmin blog post here? Email


2022-01-13 - pgAdmin 4 v6.4 Released

The pgAdmin Development Team is pleased to announce pgAdmin 4 version 6.4. This release of pgAdmin 4 includes 13 bug fixes and new features. For more details please see the release notes.

Notable changes in this release include:


  • Added support to import/export server groups and servers from GUI.
  • This feature allows the users to export server definitions (and their groups) to a JSON file and re-imported them to the same or a different system to enable easy pre-configuration of pgAdmin. Previously this could be done using the '' command-line script but after the implementation of this new feature it can be done using the Import/Export Servers Wizard.


  • Port Maintenance, and Restore dialog in React.
  • Fixed an issue where Explain Analyze shows negative exclusive time.
  • Fixed an issue where Columns with default value not showing when adding a new row.
  • Fixed an issue where the Owner is not displayed in the reverse engineering SQL for Procedures.
  • Fixed an issue where an operation error message pop up showing the database object's name incorrectly.
  • Fixed an issue where SubPlans may overlap other nodes & make them inaccessible in Graphical EXPLAIN View.
  • Fixed a schema diff issue where generated script adds unwanted line endings for Functions/Procedures/Trigger Functions.

Download your copy now!

2021-12-16 - pgAdmin 4 v6.3 Released

The pgAdmin Development Team is pleased to announce pgAdmin 4 version 6.3. This release of pgAdmin 4 includes 31 bug fixes and new features. For more details please see the release notes.

Notable changes in this release include:


  • Added support for Two-factor authentication for improving security.
  • Two-factor authentication (2FA) is an extra layer of security used when logging into websites or apps. With 2FA, you have to log in with your username and password and provide another form of authentication that only you know or have access to.

  • Added support to disable the auto-discovery of the database servers.
  • This feature allows you to disable the auto discovery of the database servers. Set AUTO_DISCOVER_SERVERS = False in or

  • Include GSSAPI support in the PostgreSQL libraries and utilities on macOS.


  • Port Backup Global, Backup Server, and Backup object dialog in React.
  • Upgrade Flask to version 2 and replace Flask-BabelEx with Flask-Babel
  • Replace Alertify alert and confirm with React-based model dialog and alertifyjs notifiers with React-based notistack.
  • Fixed schema diff owner related issue.
  • Ensure that sort order should be maintained when renaming a server group.
  • Ensure that the user should be allowed to set the schema of an extension while creating it.
  • Fixed an issue where the user can't debug a function with a timestamp parameter.
  • Fixed an issue where reverse engineering SQL is wrong for Aggregate.
  • Correct the SQL definition for function/procedure with the Atomic keyword in PG14.
  • Fixed an issue where SQLite database definition is wrong because the USER_ID FK references the table user_old which is not available.

Download your copy now!

2021-11-18 - pgAdmin 4 v6.2 Released

The pgAdmin Development Team is pleased to announce pgAdmin 4 version 6.2. This release of pgAdmin 4 includes 22 bug fixes and new features. For more details please see the release notes.

Notable changes in this release include:


  • Added support for Aggregate and Operator nodes in view-only mode.
  • Ensure that users should be able to modify the REMOTE_USER environment variable as per their environment by introducing the new config parameter WEBSERVER_REMOTE_USER.


  • Fixed pgAdmin freezing issue by providing the error message for the operation that can't perform due to lock on the particular table.
  • Fixed an issue where pgAdmin is not opening properly.
  • Ensure that internal authentication, when combined with other authentication providers, the order of internal sources should not matter while picking up the provider.
  • Ensure that the user should be able to navigate browser tree objects using arrow keys from the keyboard.
  • Fixed an issue where database nodes are not getting loaded behind a reverse proxy with SSL.
  • Fixed an issue where JSON editor preview colours had inappropriate contrast in dark mode.
  • Fixed JSON Editor scrolling issue in code mode.
  • Ensure that changing themes should work on Windows when system high contrast mode is enabled.
  • Ensure that the Binary path for PG14 should be visible in the preferences.
  • Fixed an issue where textarea should be allowed to resize and have more than 255 chars.

Note: We regret that once again we have been unable to publish an updated Python package to PyPi. This is due to the need for a quota increase for pgAdmin on PyPi that is currently awaiting action from the PyPi team.

Download your copy now!

2021-09-09 - pgAdmin 4 v5.7 Released

The pgAdmin Development Team are pleased to announce pgAdmin 4 version 5.7. This release of pgAdmin 4 includes 26 bug fixes and new features. For more details please see the release notes.

Notable changes in this release include:


  • Added support for the truncate table with restart identity.
  • Added database and server information on the Maintenance process watcher dialog..
  • Allow the referenced table to be the same as the local table in one to many relationship for ERD Tool..
  • Make closing tabs to be smarter by focusing on the appropriate tab when the user closed a tab..
  • Set PSQLRC and PSQL_HISTORY env vars to apt. user storage path in the server mode..


  • Fixed blank screen issue on windows and also made changes to use NWjs manifest for remembering window size.
  • Ensure that trigger function SQL should have 'create or replace function' instead of 'create function' only.
  • Fixed the export image issue where relation lines are over the nodes.
  • Fixed width limitation issue in PSQL tool window.
  • Fixed an issue where columns with sequences get altered unnecessarily with a schema diff tool.
  • Ensure that the lock panel should not be blocked for larger records.
  • Fixed an issue where whitespace in function bodies was not applied while generating the script using Schema Diff.
  • Introduced the OAUTH2_SCOPE variable for the Oauth2 scope configuration.
  • Enables pgAdmin to retrieve user permissions in case of nested roles, which helps to terminate the session for AWS RDS.
  • Ensure that pgAdmin should not fail at login due to a special character in the hostname.

Download your copy now!

2021-01-28 - pgAdmin 4 v4.30 Released

The pgAdmin Development Team are pleased to announce pgAdmin 4 version 4.30. This release of pgAdmin 4 includes 38 bug fixes and new features. For more details please see the release notes.

Notable changes in this release include:


  • ERD Tool (Beta):
  • The Entity-Relationship Diagram (ERD) tool is a database design tool that provides a graphical representation of database tables, columns, and inter-relationships. You can use the ERD tool to design a new schema and generate the SQL required to create it, or to reverse engineer and diagram an existing database schema.

  • Kerberos Support:
  • Kerberos support is added in pgAdmin 4 using SPNEGO for logging into pgAdmin, similar to the existing LDAP and "internal" options. Note that support for logging into database servers using Kerberos is not included in this release, but will be added in a future version.

  • Add a container option (PGADMIN_DISABLE_POSTFIX) to disable the Postfix server:
  • Postfix (like other MTAs) must start as user 'root', and the pgAdmin container achieves this using 'sudo'. Whilst that works well in most environments, it can cause problems in some. This option allows you to completely disable Postfix to avoid these issues, though you will need to configure an external mail server to be used to send password reset emails.


  • Improve the explain plan details by showing a popup instead of a tooltip when clicking on plan nodes.
  • Ensure that verbose logs are visible for Utility (Backup, Maintenance etc.) jobs.
  • Added support for expressions in exclusion constraints.
  • Ensure that the 'template1' database is not visible after pg_upgrade.
  • Added appropriate help message and a placeholder for letting users know about the account password expiry for Login/Group Role.
  • Updated Flask-BabelEx to the latest version.
  • Fixed extra parentheses issue around joins for Views.
  • Ensure that the current value of sequences is ignored while comparing using Schema Diff.
  • Fixed an issue when the user tries to delete multiple records in the data grid.
  • Fixed TypeError exception in schema diff when selecting two identical objects.
  • Include PostgreSQL 13 utilities in the container distribution.

Download your copy now!

2018-07-12 - pgAgent v4.0.0 Released

The pgAdmin Development Team are pleased to announce the release of pgAgent v4.0.0.

pgAgent is a job scheduler for PostgreSQL; for more information please see the documentation included as part of the pgAdmin documentation at

Download (source):

We expect DEB and RPM packages to be available from the PostgreSQL APT/YUM repositories in due course, as well as an updated installer from EnterpriseDB available through StackBuilder.

Notable changes in this release include:

  • Remove the dependency on wxWidgets. pgAgent now uses Boost for thread management and synchronisation [Neel Patel]
  • Refactor connection parsing logic to fix issues with and improve handling of connection strings [Thomas Krennwallner]
  • Handle 2 digit server version numbers [Ashesh Vashi]
  • Fix handling of the "succeeded" flag on job steps which could prevent failure of steps causing the following steps to fail [Sanket Mehta]

The current version of pgAdmin 4 is 6.4

Postgres, PostgreSQL and the Slonik Logo are trademarks or registered trademarks of the PostgreSQL Community Association of Canada, and used with their permission.