diff --git a/docs/en_US/release_notes_4_17.rst b/docs/en_US/release_notes_4_17.rst index 1830e59dd..c6a4a7603 100644 --- a/docs/en_US/release_notes_4_17.rst +++ b/docs/en_US/release_notes_4_17.rst @@ -36,4 +36,5 @@ Bug fixes | `Issue #5008 `_ - Ensure that the error message should not be displayed if Tablespace is not selected while creating the index. | `Issue #5009 `_ - Fix an issue where operator, access method and operator class is not visible for exclusion constraints. | `Issue #5013 `_ - Add a note to the documentation about the use of non-privileged ports on filesystems that don't support extended attributes when running the container. -| `Issue #5047 `_ - Added tab navigation for tabs under explain panel in query tool. \ No newline at end of file +| `Issue #5047 `_ - Added tab navigation for tabs under explain panel in query tool. +| `Issue #5068 `_ - Fix an issue where the table is not created with autovacuum_enabled and toast.autovacuum_enabled for PG/EPAS 12. \ No newline at end of file diff --git a/web/pgadmin/browser/server_groups/servers/databases/schemas/tables/templates/tables/sql/12_plus/create.sql b/web/pgadmin/browser/server_groups/servers/databases/schemas/tables/templates/tables/sql/12_plus/create.sql index f7f7c6068..c52861b0c 100644 --- a/web/pgadmin/browser/server_groups/servers/databases/schemas/tables/templates/tables/sql/12_plus/create.sql +++ b/web/pgadmin/browser/server_groups/servers/databases/schemas/tables/templates/tables/sql/12_plus/create.sql @@ -103,6 +103,8 @@ WITH ( toast.{{opt.name}} = {{opt.value}}{% endif %} {% endfor %}{% endif %} +{% if data.spcname %}){% else %});{% endif %} + {% endif %} {### SQL for Tablespace ###} {% if data.spcname %}