Want to see your pgAdmin video here? Email webmaster@pgadmin.org.
Latest Blog Posts
How to use pgAgent in pgAdmin 4
Author: Pravesh Sharma, date: May 10, 2023
pgAgent is a tool used for scheduling jobs for PostgreSQL databases. Each job consists of steps and schedules. In this blog we will look at how pgAdmin can be used to create scheduled jobs using pgAgent with PostgreSQL, with steps and schedules to achieve what you want, when you want.
Setup pgAdmin development environment
Author: Aditya Toshniwal, date: May 10, 2023
pgAdmin is the most popular and feature rich Open Source administration and development platform for PostgreSQL. In this blog, I will walk you through how to set up the pgAdmin development environment on your machine. The code repository for pgAdmin 4 is: https://github.com/pgadmin-org/pgadmin4.
Google Cloud SQL - PostgreSQL Deployment with pgAdmin 4
Author: Yogesh Mahajan, date: May 2, 2023
pgAdmin 4 has added functionality to deploy cloud instances for PostgreSQL on AWS, Azure and BigAnimal. pgAdmin version 7.0 has introduced the new functionality for deploying a Google Cloud SQL PostgreSQL instance from pgAdmin. To launch a Google Cloud SQL PostgreSQL instance, the prerequisite is to create and download a client secret file containing the client ID, client secret, and other OAuth 2.0 parameters for google authentication. This feature enables you to quickly deploy the PostgreSQL instance to the desired region on Google Cloud, with custom configuration, and connect to it with pgAdmin.
Want to see your pgAdmin blog post here? Email webmaster@pgadmin.org.
News
2023-06-01 - pgAdmin 4 v7.2 Released
The pgAdmin Development Team is pleased to announce pgAdmin 4 version 7.2. This release of pgAdmin 4 includes 24 bug fixes and new features. For more details please see the release notes.
Note:
From this release onwards pgAdmin 4 will now use the operating system's password store to save the server passwords in desktop mode instead of using Master Password.
Notable changes in this release include:
Features:
- Add Option to only show active connections on Dashboard.
- Allow pgAdmin to retrieve master password from external script/program.
- Add an option to hide/show empty object collection nodes.
- Added support to use standard OS secret store to save server/ssh tunnel passwords instead of master password in pgAdmin desktop mode.
- Implement new PostgreSQL 15 features in publication dialog and SQL.
Bugs/Housekeeping:
- Fixed an issue where Foreign Key columns are shown in the wrong order in SQL and Properties.
- Ensure that a new row should be added on top in the User Management dialog.
- Fixed an issue where REVOKE ALL DDL in table SQL was added only for one role.
- Tools menu should be toggled for "pause replay of wal" and "resume replay of wal".
- Make the 'Connect to server' dialog a modal dialog.
- Fixed an issue where PSQL tool prompts for password if using password exec command.
- Fix circular reference error for the multirange data types in the query tool.
- Fix an issue in the register server when setting the role, an arbitrary SQL query can be fired.
- View SQL tab not quoting column comments.
- VarChar Field Sizes are missing from Query's Grid header.
Download your copy now!
2023-05-04 - pgAdmin 4 v7.1 Released
The pgAdmin Development Team is pleased to announce pgAdmin 4 version 7.1. This release of pgAdmin 4 includes 23 bug fixes and new features. For more details please see the release notes.
Notable changes in this release include:
Features:
- Show object breadcrumbs path along with its comment on object hover.
- Allow on demand record count setting to be changed per user using preferences.
- Added support to show statistics for materialized views.
- Added support to create an unnamed index.
Bugs/Housekeeping:
- Mac crash when you press Command-Shift-C.
- Fixed an issue where Reset Password is not working after upgrading to latest flask-security-too.
- Ensure that the ERD tool should work with the external database after moving to psycopg3.
- Fixed an issue with the properties tab not getting updated if the user updates the selected node.
- Fix an issue in View SQL when column level privileges are set with multiple roles.
- Fixed an issue where query tool hangs for some time when multiple columns are selected to open geometry viewer.
- Ensure that when pasting a row in query tool grid, default value is used for autogenerated/serial columns.
- Ensure to quote the primary key value if needed while deleting rows from the table.
- Fixed an issue where PSQL is not working if the PGUSER env variable is set and service file is used for server connection details.
- Show proper message if the debugger is stopped by the user.
Download your copy now!
2023-04-13 - pgAdmin 4 v7.0 Released
The pgAdmin Development Team is pleased to announce pgAdmin 4 version 7.0. This release of pgAdmin 4 includes 43 bug fixes and new features. For more details please see the release notes.
Note:
To upgrade on RHEL 8, Rocky Linux 8, Fedora 36, and Fedora 37 users have to manually remove the “python3-mod_wsgi” package. While removing the “python3-mod_wsgi” package, it removes all the dependencies, and pgadmin 4 is one of the dependencies.
Notable changes in this release include:
Features:
- Auto expand row edit form when a new row is added for Primary Key, Foreign Key, Unique Constraint, and Exclusion Constraint.
- Added support for mounting shared storage in server mode.
- Add a note on top of keyboard shortcuts preferences to show the Accesskey of the browser.
- Added capability to deploy PostgreSQL servers on Google Cloud.
- Added support of BigAnimal v3 API.
- On pressing Ctrl+C on a tree object, copy the fully qualified name to the clipboard.
- Added option to create unique constraint with nulls not distinct.
Bugs/Housekeeping:
- Upgrade from psycopg2 to psycopg3, Update SQLAlchemy, Flask, Flask-SQLAlchemy, and other packages to current versions, and Remove Bootstrap and jQuery usage.
- Fixed the LDAP authentication issue for the simultaneous login attempts. (CVE-2023-1907).
- Show appropriate error message when master password is not set instead of 'Crypt key missing'.
- Ensure that the user's storage directory is created when the users are created, as well as for those users whose directories have not yet been created.
- Fixed an issue where migration on an external database is not working.
- Fixed CSV export from Query Tool results does not include all columns for multiple CTEs.
- Fixed 'rawunicodeescape' codec can't decode issue in an SQL_ASCII database.
- Use fetch instead of Axios to close connections in SQLEditor, ERD, Schema Diff, and Debugger to ensure it completes.
- Ensure that when pasting rows the rows are added right below the selected rows for copying.
- Fix the dependents SQL of Roles which is throwing a type casting error on PostgreSQL 15
Download your copy now!
2023-03-09 - pgAdmin 4 v6.21 Released
The pgAdmin Development Team is pleased to announce pgAdmin 4 version 6.21. This release of pgAdmin 4 includes 19 bug fixes and new features. For more details please see the release notes.
Note:
This is the last release of pgAdmin that will support Python 3.6 and Psycopg2. Future releases will require Python 3.7 or later. This means that this is also the last release that will be supported on CentOS and RHEL 7.x
Notable changes in this release include:
Features:
- Allow changing cardinality notation in ERD to use Chen notation.
- Add additional logging for successful logins and user creation.
Bugs/Housekeeping:
- Fixed an issue where pgAdmin failed to connect when the Postgres password included special characters.
- Ensure that the database migration does not fail with a NoSuchTableError exception.
- Fixed an issue where the database server is not connected using a service file.
- Handle MERGE operation in query tool explain introduced in PostgreSQL 15.
- Ensure that the schema diff tool should pick up the change in the column grants.
- Ensure that Grant column permission to a view is visible in the SQL tab.
- Ensure that content on the DDL comparison panel should get refreshed on selecting the object using the up and down arrow keys.
- Fixed an issue where the user can't create trigger AFTER UPDATE OF.
- Do not allow to save invalid JSON in query tool JSON editor.
Download your copy now!
2023-02-09 - pgAdmin 4 v6.20 Released
The pgAdmin Development Team is pleased to announce pgAdmin 4 version 6.20. This release of pgAdmin 4 includes 18 bug fixes and new features. For more details please see the release notes.
Note:
Whilst pgAdmin 4 does not formally support downgrading, it typically does work if you uninstall and then reinstall the application. This release of pgAdmin includes a major change to the configuration database structure which is NOT backward compatible, and therefore a straightforward downgrade will not work. If you are using the default SQLite database for your configuration (as will be the case for the vast majority of users), the old version of the configuration database will be backed up to "pgadmin4.db.prev.bak" in your storage directory. If you wish to downgrade to pgAdmin v6.19 or earlier, after running v6.20, you must restore this file to "pgadmin4.db" in the same directory, BEFORE starting the older version of pgAdmin again. If you are storing your configuration in an external PostgreSQL database, you will need to restore a backup of that database taken prior to the upgrade to v6.20, if you wish to return to the earlier version. Changes made after migration such as the addition of new servers, will not be stored in the old database and will have to be re-created following a downgrade.
Notable changes in this release include:
Features:
- Added support for setting PostgreSQL connection parameters.
With the help of this feature, a user can specify the connection parameters when connecting to a server using the server dialog. In the server dialog, we have added a new Parameters tab and removed the SSL tab. The Parameters tab now contains all SSL tab controls.
Bugs/Housekeeping:
- Use uplot for Dashboard graphs to reduce CPU usage.
- Fixed an issue where the client cert location was not stored on the shared servers.
- Fix orphan database connections resulting in an inability to connect to databases.
- Ensure that the system columns should not visible in the import/export data.
- Increase the length of the value column of the setting table.
- Fix an issue where drag and drop object names are not working.
- Fix an issue where the role is used as a username for newly added servers when opening the query tool.
- Fixed an issue where Query history is not getting loaded with the external database.
- Fix failing import servers CLI due to vulnerability fix
Download your copy now!
2022-09-21 - Project moved to GitHub
The pgAdmin Project has now moved to GitHub!
The source code repository can be found at: https://github.com/pgadmin-org/pgadmin4.
Issues can be found at https://github.com/pgadmin-org/pgadmin4/issues. All issues have been migrated from the old Redmine trackers.
There are a number of other repositories also in our GitHub organisation for pgAgent, the website, and old versions of pgAdmin.
Please update your links and bookmarks accordingly!
2022-07-11 - pgAdmin User Survey
In order to help us better plan the future of pgAdmin, it's essential that we hear from users so we can focus our efforts in the areas that matter most.
We'd like to gather feedback from as many users as possible, so please take a few minutes and complete the survey below. Feel free to share the link with any friends or colleagues who you think may also want to provide their input.
https://forms.gle/62gzUPNbj4N1jNTB6
Please note that the survey is entirely anonymous (although Google will see your IP address, and may know who you are if you are logged in to your Google account), unless you choose to include any identifying information in any of your responses.
Thank you!
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 7.2
Postgres, PostgreSQL and the Slonik Logo are trademarks or registered trademarks of the PostgreSQL Community Association of Canada, and used with their permission.