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
Pravesh Sharma
62eb330423
Introduced an ‘Editor’ preferences category and migrated all editor related settings into it. #8861
2025-07-28 14:09:16 +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
Aditya Toshniwal
c4f7a18ec5
Fixed following issues found while testing v9.6 candidate build:
...
1. Migration failed on Debian 11.
2. Menu shortcuts should not for opening search object and query tool when not in default workspace.
Co-authored-by: Yogesh Mahajan <yogesh.mahajan@enterprisedb.com>
Co-authored-by: Pravesh Sharma <pravesh.sharma@enterprisedb.com>
2025-07-22 16:00:29 +05:30
Aditya Toshniwal
bec47845be
Add support for showing pgAdmin shortcuts on Electron menus. #1923
2025-07-21 15:07:17 +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
fe2332f606
Fixed merge conflict issues.
2025-07-17 12:44:53 +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
Grégoire Bellon-Gervais
13ade4c0b2
Enable the PKCE workflow for OAuth 2 authentication. #8941
2025-07-15 11:36:05 +05:30
Yogesh Mahajan
1195f14327
Improved the application restore which includes: #8901
...
1. Leverage rc-dock layout to restore the application state.
2. Move the save and load file endpoints to the file manager module.
3. Ensure that the order and layout of tabs is maintained on restore.
4. Persist the changed title of tabs on restore.
2025-07-15 11:21:57 +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
Anil Sahoo
0ebf78ca61
Fixed an issue in the Search Objects tool where selecting a node occasionally selected an incorrect node. #8675
2025-07-10 15:37:31 +05:30
Akshay Joshi
e4f17e5a6c
Ensure that pgAdmin 4 is compatible with PG/EPAS v18. #8828
2025-07-08 18:34:39 +05:30
Akshay Joshi
7c2b773ad1
Allow the user to set a master password if an error occurs while accessing the OS secret storage.
2025-06-25 17:11:52 +05:30
Pravesh Sharma
08d250e5ef
1. Fixed issues reported while testing changes for editor preferences. #2659
...
2. Updated preferences docs.
2025-06-19 16:09:39 +05:30
Yogesh Mahajan
f07eabedbe
Ensure that restored query tool tabs display the correct title. #3319
2025-06-19 12:12:54 +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
Yogesh Mahajan
68e559c613
Added support to preserve the workspace, query windows, and pgAdmin state during an abrupt shutdown or restart. #3319
2025-06-05 16:50:38 +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
Anil Sahoo
4e8f29f328
Fixed an issue where light theme briefly appears when pgAdmin loads or tools open, even when a dark or system UI theme is preferred. #8711
2025-05-20 10:36:29 +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
Aditya Toshniwal
ec3d142ad9
Fix issues while testing role permissions feature. #7310
2025-04-21 15:14:18 +05:30
Aditya Toshniwal
e8cb962890
Add Cache-Control no-cache,no-store,must-revalidate header to dynamically generated utils.js file. #3688
2025-04-16 11:23:35 +05:30
Akshay Joshi
934f17c65e
Ensure that the server list is alphabetically sorted in the Query Tool/PSQL workspace. #8636
2025-04-15 16:12:49 +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
Aditya Toshniwal
18f47a59c5
Fixed an issue where the query tool went blank when converting history dates to the appropriate locale format. #8632
2025-04-14 12:43:05 +05:30
Akshay Joshi
627aa5d695
Added ability to use SQL in the 'DB Restriction' field. #2767
2025-04-04 15:53:12 +05:30
Aditya Toshniwal
73fefb8603
Fixed an issue where query tool is crashing on macOS 15.4 due to a locale issue. #8623
2025-04-02 15:15:23 +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
Aditya Toshniwal
9ab451e163
Open user management in a separate tab instead of a dialog to enhance UI/UX. #8574
2025-03-25 12:33:49 +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
Yogesh Mahajan
b2669930f5
Ensure that modal dialogs are not triggered more than once to avoid duplicates. #8316
2025-03-18 15:58:16 +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