Rohit Bhati
758bbc7272
Enable depends on extension option on for functions.
2025-10-13 11:39:37 +05:30
Akshay Joshi
e9b97d61f8
1) Pin pywinpty due to https://github.com/andfoy/pywinpty/issues/545
...
2) Remove scram_client_key and scram_server_key from the connection string parameter
as it is not meant to be specified directly by users or client applications.
2025-10-10 13:07:32 +05:30
Akshay Joshi
f3567518d3
Added option to skip the password dialog when using an identity file. #6996
...
1. Don't ask for the SSH Tunnel or Database server password if it is already saved.
2. Modified the generic error message from the SSH Tunnel library.
2025-10-07 13:13:37 +05:30
Yogesh Mahajan
c6af61afd3
Implement pre and post scenario SQL execution in subscription ResQL tests to manage publication lifecycle. #8932
2025-10-03 12:12:15 +05:30
Rohit Bhati
9e6ab295df
Add support of DEPENDS/NO DEPENDS ON EXTENSION for ALTER FUNCTION. #6385
2025-10-01 13:49:03 +05:30
Anil Sahoo
c75bba03c2
1) Added 'failover' parameter support in CREATE and ALTER SUBSCRIPTION for PostgreSQL v17+. #8932
...
2) Added 'two_phase' parameter support for ALTER SUBSCRIPTION for PostgreSQL v18+.
3) Updated versioned_template_loader.py to prioritize v18+ templates.
4) Updated the default value of the streaming parameter in CREATE SUBSCRIPTION to 'parallel' in PG v18 (previously false).
2025-09-29 12:52:47 +05:30
Akshay Joshi
3e66b6f7be
1) Added "MULTIRANGE_TYPE_NAME" option while creating a Range Type. #6394
...
2) Added "SUBSCRIPT" option while creating an External Type. #6395
2025-09-11 14:27:27 +05:30
Rohit Bhati
fc41c795f1
Add menu items for truncating foreign tables. #6396
2025-08-28 10:23:46 +05:30
Akshay Joshi
1eb7c9d3e2
Added support for builtin locale provider while creating Collation. #8931
2025-08-11 11:42:14 +05:30
Khushboo Vashi
d53a34b8df
Fixed the issue where updating the name of a table column does not reflect in the corresponding primary key constraint. #7617
2025-08-07 16:36:38 +05:30
Akshay Joshi
1316a3d7d8
Added all new connection string parameters introduced in PostgreSQL 16 and later. #8935
2025-08-04 12:02:30 +05:30
Rohit Bhati
3b9359945e
Added PKEY index in the index statistics summary. #8971
2025-07-31 17:12:15 +05:30
Aditya Toshniwal
99b822e472
Add support for server tag-based filtering in the Object Explorer. #8917
2025-07-31 17:06:40 +05:30
Aditya Toshniwal
b2ec3a5acc
Fixed an issue where pgAdmin failed to update the server connection status when the server was disconnected in the background and a refresh was performed on that server. #8149
2025-07-31 12:43:49 +05:30
Akshay Joshi
aa0a1f676d
Fix PEP8
2025-07-29 18:12:40 +05:30
Akshay Joshi
5963593fed
Replace keyword PROCEDURE with FUNCTION while creating trigger and event trigger. #6384
2025-07-29 17:48:41 +05:30
Murtuza Zabuawala
e73d8f4532
Fixed incorrect behaviour of the option deduplicate items after creating the index. #8969
2025-07-28 13:23:39 +05:30
Akshay Joshi
8046c238d8
Make the 'Password' and 'Save Password' options visible in edit mode in the Server Dialog.
2025-07-17 18:19:20 +05:30
Akshay Joshi
d26b63fdf5
Use 'Drop' instead of 'Delete' for object commands to make destructive actions more deliberate. #8958
2025-07-16 18:02:24 +05:30
Rohit Bhati
770a0f27af
Ensure that keyboard shortcuts are displayed in tooltips, context menus, and the main menu. #1923
2025-07-16 17:51:26 +05:30
Akshay Joshi
82e6b57d04
1) Added new columns in pg_stats table.
...
2) Updated release note.
2025-07-10 19:11:33 +05:30
Akshay Joshi
e4f17e5a6c
Ensure that pgAdmin 4 is compatible with PG/EPAS v18. #8828
2025-07-08 18:34:39 +05:30
Aditya Toshniwal
1e0e9c4f7d
1) Open preferences in a new tab instead of a dialog for better user experience. #6743
...
2) Add a search box to enable searching within the preferences tab. #2864
2025-06-12 19:03:54 +05:30
Rohit Bhati
814250aade
Added role-based restrictions for editing server connections. #1947
2025-06-10 12:19:41 +05:30
Akshay Joshi
4cd331f0ca
Fixed an issue where the Columns node was not visible under Catalog Objects. #8834
2025-06-06 12:34:20 +05:30
Akshay Joshi
7504f6216a
Fixed an issue where the Schema Diff Tool incorrectly reported differences due to variations in the order of the privileges. #8032
2025-05-29 19:08:56 +05:30
Pravesh Sharma
78d9aa5b76
Fixed issue found while testing PostGIS spatial type constructor support. #2256
2025-04-25 11:13:18 +05:30
Pravesh Sharma
b08e90ea88
Add support for type constructors for PostGIS spatial types. #2256
2025-04-23 15:35:42 +05:30
Akshay Joshi
7b1ad5fa67
Fixed an issue where changes to foreign key constraints were not detected in the schema diff. #8627
2025-04-15 11:46:12 +05:30
Aditya Toshniwal
7d8a915ee0
Add support for custom roles and role permissions management in pgAdmin. #7310
2025-04-15 11:25:31 +05:30
Akshay Joshi
627aa5d695
Added ability to use SQL in the 'DB Restriction' field. #2767
2025-04-04 15:53:12 +05:30
Rohit Bhati
a2b35b35f3
Fixed an issue where the query tool data grid did not respect the default value for columns of domain type when the domain had a default value. #8483
2025-03-28 10:38:30 +05:30
Akshay Joshi
a5993549b8
Disable controls for shared servers that cannot be edited by the users.
2025-03-24 14:30:56 +05:30
Rohit Bhati
47eca9a19c
Fixed an issue where updating the grantee was not correctly applying the privileges. #8546
2025-03-20 15:35:46 +05:30
Akshay Joshi
f635df6ccf
Added support for post-connection SQL execution, which will be run automatically on each connection made to any database of the server. #4503
2025-03-18 16:54:38 +05:30
Rohit Bhati
797bdb8696
Fixed directory owner update & UI issues. #8034
2025-03-17 12:22:06 +05:30
Akshay Joshi
cf2328d2cd
Fixed PEP8
2025-03-04 15:49:41 +05:30
Rohit Bhati
7bae1eb663
Added support for creating Directory nodes in EPAS. #8034
2025-03-03 18:45:21 +05:30
Akshay Joshi
4791897578
Fixed an issue where the Schema Diff was not displaying the difference query when a table had a UNIQUE NULLS NOT DISTINCT constraint. #8479
2025-03-03 18:39:09 +05:30
Akshay Joshi
35d6277f00
Rename all '10_plus' folders to 'default' as modulewise RESQL tests are not running.
2025-02-18 13:07:03 +05:30
Pravesh Sharma
85290d4e61
Fixed an issue where the column order displayed was incorrect for exclusion constraints with multiple columns. #8430
2025-02-18 11:57:42 +05:30
Michal Charemza
83ade5dcc2
Update the query that fetches roles to be faster with many roles.
...
This changes the query that fetches roles from using the
pg_catalog.shobj_description function to using an explicit join on
pg_catalog.pg_shdescription. In my specific case, in a production system with
over 20k roles, this reduces the query time down from 8 minutes(!) down to
~40ms. Just in case it was a locking issue, I did use pg_activity to
investigate locks, and nothing was being blocked during the 8 minutes.
This fixes a problem that exists only for certain users, and specifically in my
case where the user that runs the query is themselves a member (directly and
indirectly) of a high number of roles. Running the existing query as a user
that has a low number of roles (and specifically, the master user in an AWS RDS
database), the existing query is fairly performant.
My best explanation as to the performance difference comes from the definition
of shobj_description
2a8a00674e/src/backend/catalog/system_functions.sql (L303-L312) .
Each time it's called it runs a query against pg_shdescription and pg_class,
and so in my case runs 20k times, compared to the equivalent of once when doing
the explicit join on pg_shdescription. It should also be noted that in my case
pg_class is quite big - currently about 500k rows (although it has grown to ~5
million in the past, but that was borderline a mistake).
See https://github.com/pgadmin-org/pgadmin4/pull/8457#issue-2853052114 for
EXPLAIN ANALYZE results of the existing query and the updated query.
2025-02-17 17:20:28 +05:30
Akshay Joshi
f63190dc93
Fixed an issue where pgAdmin does not support pg_vector column length/precision. #8181
2025-02-12 16:14:31 +05:30
Pravesh Sharma
2c37ff2893
Fixing following SonarQube Issues:
...
1. Ternary operators should not be nested.
2. "Exception" and "BaseException" should not be raised.
2025-02-11 12:03:43 +05:30
Aditya Toshniwal
650a15beec
Fixed an issue where the query tool was not treating IDENTITY columns as columns with default values when inserting new rows. #8341
2025-02-10 15:05:09 +05:30
Akshay Joshi
bf7f8cdd73
1) Added missing GLOBALLY_DELIVERABLE config parameter in the config.py from the last commit.
...
2) Fixed API test cases for DBMS_JOB_SCHEDULER
2025-02-07 13:36:11 +05:30
Pravesh Sharma
dd09986f71
Fixed an issue where quotes were missing in the CREATE script for the tablespace. #8408
2025-02-03 11:50:50 +05:30
Akshay Joshi
d5101b7568
1) Disable PSQL Workspace in Server mode.
...
2) Fixed an issue where empty binary path throwing an error instead of proper error message.
2025-01-30 17:59:18 +05:30
Akshay Joshi
1317e5a921
Change the logic of setval function, so that the next nextval of sequence will return exactly the specified value. #3273
2025-01-28 17:52:21 +05:30
Akshay Joshi
22b7ae6cdc
1) Fixed an issue where loadingText message is not shown in SchemaView.
...
2) Fixed SonarQube Bugs and Code Smells.
2025-01-24 13:58:21 +05:30