pgAdmin

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 9.5 and above.

Screenshot of pgAdmin

Latest Videos

Want to see your pgAdmin video here? Email webmaster@pgadmin.org.

News

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:

Features:

  • 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..

Bugs/Housekeeping:

  • 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-08-12 - pgAdmin 4 v5.6 Released

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

Notable changes in this release include:

Features:

  • Added support to copy SQL from main window to query tool.
  • This feature is used to copy the SQL script for the selected browser tree node in the query tool. For this we have added new preferences setting ‘Copy SQL from main window to query tool?’

  • Added support for formatted JSON viewer/editor when interacting with data in a JSON column.
  • This feature allows the user to format, view and edit JSON data in a very nice way. JSON editors have so many formats to view data differently.

Bugs/Housekeeping:

  • Rename the "Resize by data?" to "Columns sized by" and disabled the 'Maximum column width' button if 'Columns sized by' is set to 'Column data'.
  • Ensure that the login account should be locked after N number of attempts. N is configurable using the 'MAX_LOGIN_ATTEMPTS' parameter.
  • Fixed CSRF errors for stale sessions by increasing the session expiration time for desktop mode.
  • Fixed an issue in the search object when searching in 'all types' or 'subscription' if the user doesn't have access to the subscription.
  • Fixed an issue where paste was not working through the Right-Click option on PSQL.
  • Fixed TypeError 'NoneType' object is not sub scriptable.
  • Fixed an issue where the titles in query tabs are different.
  • Fixed dashboard server activity issue when active_since parameter is None.

Download your copy now!

2021-07-15 - pgAdmin 4 v5.5 Released

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

Notable changes in this release include:

Features:

  • Highlighted long running queries on the dashboards
  • This feature is implemented to highlight the long running queries. It allows the user to provide the warning and alert threshold values in minutes. Depending on the threshold value pgAdmin4 highlights the long running queries on the Dashboard.

  • Added support for Reassign/Drop Owned for login roles.
  • This feature allows the user to change the ownership of database objects owned by a database role or remove database objects owned by a database role.

  • Added support for OAuth 2 authentication
  • This feature allows the user to connect to the pgAdmin 4 server using OAuth2 authentication. To enable OAUTH2 authentication for pgAdmin, you must configure the OAUTH2 settings in the config_local.py or config_system.py file.

  • Added option to provide maximum width of the column when 'Resize by data?’ option in the preferences is set to True
  • Do not block the query editor window when running a query

Bugs/Housekeeping:

  • Ensure that the Data Output panel can be snapped back after it is detached.
  • Fixed replace keyboard shortcut issue in the query tool on the normal keyboard layout.
  • Remove leading whitespace and replace it with '[...] ' in the Query Tool data grid so cells don't look empty.
  • Fixed an issue in the search object when searching in 'all types' or 'subscription' if the user doesn't have access to the subscription.
  • Fixed an issue where the New Connection Drop Down has lost default maintenance database, auto-select, and tab-through functionality..
  • Ensure that setting 'Open in new browser tab' should be visible, it should not be based on the value of 'ENABLE_PSQL'.
  • Disable email deliverability check that was introduced in flask-security-too by default to maintain backwards compatibility.
  • Fixed an issue where incorrect column names were listed in the properties of Index.

Download your copy now!

2021-06-17 - pgAdmin 4 v5.4 Released

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

Notable changes in this release include:

Features:

  • PSQL Tool support (Beta)
  • The PSQL tool allows users to connect to PostgreSQL or EDB Advanced server using the psql command-line interface through their browser. Open the PSQL tool from the Tools or browser tree context menu, or use the PSQL tool button at the top of the browser tree. On the Windows platform, this feature is available on Windows 10 (1809 version), and Windows Server 2019 and onwards.

  • Added support to browse binary path and set it for the different database server version.
  • This feature allows the user to set the different binary paths for the supported database server versions. Added browse button to select the binary path along with validation button to validate the path. Validation checks for the utilities and shows the version of the utilities.

  • Rotating the pgAdmin log files on the basis of size and age
  • Using this feature the user will be able to set the log rotation on the basis of size and age. Added configuration parameters LOG_ROTATION_SIZE and LOG_ROTATION_AGE.

  • Window maximize/restore functionality for properties dialog
  • This feature allows the user to maximize and restore the properties dialog.

  • Support non-admin installation on Windows

Bugs/Housekeeping:

  • Updated Flask-Security-Too to the latest v4.
  • Added a mechanism to detect a corrupt/broken config database file.
  • Fixed the issue of renaming the database by another user.
  • Disable browser password saving in the runtime.
  • Ensure that the Query Tool connection string should not be changed as per the 'Query Tool tab title'.
  • Fixed duplicate SQL issue for tables with more than one partition.
  • Fixed an issue where the Foreground Color property of server dialog does not work.
  • Fixed an issue where a decimal number is appended for character varying fields while downloading the data in CSV format.

Download your copy now!

2021-05-20 - pgAdmin 4 v5.3 Released

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

Notable changes in this release include:

Features:

  • Connect PostgreSQL servers using Kerberos authentication
  • This feature provides the user to connect to the database servers using Kerberos authentication. Make sure 'kerberos' must be set as AUTHENTICATION_SOURCES in the config file. Added ‘Kerberos authentication?’ switch control in the server dialog if it is set to True then the user can connect to the database server using Kerberos authentication.

  • Auto width of columns by content size in the data output window.
  • This feature provides the user to set the auto width option of the columns by content size. Added ‘Resize by data?’ option in the preferences. If set to True then data columns will auto-size to the maximum width of the data in the column as loaded in the first batch. If False, the column will be sized to the widest of the data type or column name.

Bugs/Housekeeping:

  • Fixed an issue where data is displayed in the wrong order when executing the query repeatedly.
  • Fixed an issue where the wrong SQL is showing for the child partition tables.
  • Fixed an issue where CSV download quotes the numeric columns.
  • Ensure that pgAdmin should not allow opening external files that are dragged into it.
  • Fixed an issue where schema diff does not create DROP DEFAULT statement for columns.
  • Fixed an issue where the filter 'Include/Exclude By Selection' not working for null values.
  • Added support for the creation of Nested Table and Varying Array Type for Advanced Server.
  • Fixed ModuleNotFoundError when running setup.py from outside of the root.
  • Fixed an issue where the current debug line is not visible in the 'Dark' theme.
  • Fixed an issue where duplicate columns are visible in the browser tree if dependent on multiple sequences.
  • Ensure that pgAdmin4 shut down completely on the Quit command.

Download your copy now!

2019-11-21 - Try pgAdmin online!

Our friends at EnterpriseDB have kindly made an online demo environment for pgAdmin available to allow new users to try it out in their browser without needing to download or install any software. The environment (based on the Katacoda learning platform) includes pgAdmin and PostgreSQL 12, preloaded with the pagila sample database, and is unique to every user allowing a far better experience than typical shared demo environments.

Try it out 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 https://www.pgadmin.org/docs/pgadmin4/3.x/pgagent.html.

Download (source): https://www.pgadmin.org/download/pgagent-source-code/

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 5.7