diff --git a/docs/en_US/release_notes.rst b/docs/en_US/release_notes.rst index eac730d22..6eb00634f 100644 --- a/docs/en_US/release_notes.rst +++ b/docs/en_US/release_notes.rst @@ -12,6 +12,7 @@ notes for it. :maxdepth: 1 + release_notes_9_2 release_notes_9_1 release_notes_9_0 release_notes_8_14 diff --git a/docs/en_US/release_notes_9_2.rst b/docs/en_US/release_notes_9_2.rst new file mode 100644 index 000000000..191e09aef --- /dev/null +++ b/docs/en_US/release_notes_9_2.rst @@ -0,0 +1,31 @@ +*********** +Version 9.2 +*********** + +Release date: 2025-04-03 + +This release contains a number of bug fixes and new features since the release of pgAdmin 4 v9.1. + +Supported Database Servers +************************** +**PostgreSQL**: 13, 14, 15, 16 and 17 + +**EDB Advanced Server**: 13, 14, 15, 16 and 17 + +Bundled PostgreSQL Utilities +**************************** +**psql**, **pg_dump**, **pg_dumpall**, **pg_restore**: 17.2 + + +New features +************ + + +Housekeeping +************ + + +Bug fixes +********* + + | `Issue #8479 `_ - Fixed an issue where the Schema Diff was not displaying the difference query when a table had a UNIQUE NULLS NOT DISTINCT constraint. \ No newline at end of file diff --git a/web/pgadmin/browser/server_groups/servers/databases/schemas/tables/schema_diff_table_utils.py b/web/pgadmin/browser/server_groups/servers/databases/schemas/tables/schema_diff_table_utils.py index 923811762..21becffca 100644 --- a/web/pgadmin/browser/server_groups/servers/databases/schemas/tables/schema_diff_table_utils.py +++ b/web/pgadmin/browser/server_groups/servers/databases/schemas/tables/schema_diff_table_utils.py @@ -219,7 +219,7 @@ class SchemaDiffTableCompare(SchemaDiffObjectCompare): 'unique_constraint': ['col_count', 'condeferrable', 'condeffered', - 'columns'], + 'columns', 'indnullsnotdistinct'], 'check_constraint': ['consrc'], 'exclude_constraint': ['amname', 'indconstraint', diff --git a/web/pgadmin/browser/server_groups/servers/databases/schemas/tables/templates/index_constraint/sql/default/update.sql b/web/pgadmin/browser/server_groups/servers/databases/schemas/tables/templates/index_constraint/sql/default/update.sql index 5b30e993a..79fac99c8 100644 --- a/web/pgadmin/browser/server_groups/servers/databases/schemas/tables/templates/index_constraint/sql/default/update.sql +++ b/web/pgadmin/browser/server_groups/servers/databases/schemas/tables/templates/index_constraint/sql/default/update.sql @@ -13,7 +13,7 @@ ALTER INDEX {{ conn|qtIdent(data.schema, data.name) }} {% if data.fillfactor and data.fillfactor != o_data.fillfactor %} ALTER INDEX {{ conn|qtIdent(data.schema, data.name) }} SET (FILLFACTOR={{ data.fillfactor }}); -{% elif data.fillfactor is defined and data.fillfactor == '' %} +{% elif data.fillfactor is defined and (data.fillfactor == '' or data.fillfactor != o_data.fillfactor) %} ALTER INDEX {{ conn|qtIdent(data.schema, data.name) }} RESET (FILLFACTOR); {% endif %}