diff --git a/docs/en_US/release_notes_4_26.rst b/docs/en_US/release_notes_4_26.rst index 4b3af8077..312211cde 100644 --- a/docs/en_US/release_notes_4_26.rst +++ b/docs/en_US/release_notes_4_26.rst @@ -21,6 +21,7 @@ Housekeeping Bug fixes ********* +| `Issue #4216 `_ - Ensure that schema names starting with 'pg' should be visible in browser tree when standard_conforming_strings is set to off. | `Issue #5722 `_ - Ensure that the user should be able to drop the database even if it is connected. | `Issue #5748 `_ - Fixed incorrect reverse engineering SQL for Foreign key when creating a table. | `Issue #5751 `_ - Enable the 'Configure' and 'View log' menu option when the server taking longer than usual time to start. diff --git a/web/pgadmin/browser/server_groups/servers/databases/schemas/templates/schemas/pg/9.2_plus/sql/nodes.sql b/web/pgadmin/browser/server_groups/servers/databases/schemas/templates/schemas/pg/9.2_plus/sql/nodes.sql index 3cf66474a..78c4f1dde 100644 --- a/web/pgadmin/browser/server_groups/servers/databases/schemas/templates/schemas/pg/9.2_plus/sql/nodes.sql +++ b/web/pgadmin/browser/server_groups/servers/databases/schemas/templates/schemas/pg/9.2_plus/sql/nodes.sql @@ -11,7 +11,7 @@ WHERE nsp.oid={{scid}}::oid AND {% else %} {% if not show_sysobj %} - nspname NOT LIKE 'pg\_%' AND + nspname NOT LIKE 'pg!_%' escape '!' AND {% endif %} {% endif %} NOT ( diff --git a/web/pgadmin/browser/server_groups/servers/databases/schemas/templates/schemas/pg/default/sql/nodes.sql b/web/pgadmin/browser/server_groups/servers/databases/schemas/templates/schemas/pg/default/sql/nodes.sql index d1a19d1a3..a521a3e92 100644 --- a/web/pgadmin/browser/server_groups/servers/databases/schemas/templates/schemas/pg/default/sql/nodes.sql +++ b/web/pgadmin/browser/server_groups/servers/databases/schemas/templates/schemas/pg/default/sql/nodes.sql @@ -11,7 +11,7 @@ WHERE nsp.oid={{scid}}::oid AND {% else %} {% if not show_sysobj %} - nspname NOT LIKE 'pg\_%' AND + nspname NOT LIKE 'pg!_%' escape '!' AND {% endif %} {% endif %} NOT ( diff --git a/web/pgadmin/browser/server_groups/servers/databases/schemas/templates/schemas/ppas/9.1_plus/sql/nodes.sql b/web/pgadmin/browser/server_groups/servers/databases/schemas/templates/schemas/ppas/9.1_plus/sql/nodes.sql index d132fb5a0..6da23892a 100644 --- a/web/pgadmin/browser/server_groups/servers/databases/schemas/templates/schemas/ppas/9.1_plus/sql/nodes.sql +++ b/web/pgadmin/browser/server_groups/servers/databases/schemas/templates/schemas/ppas/9.1_plus/sql/nodes.sql @@ -12,7 +12,7 @@ WHERE nsp.oid={{scid}}::oid AND {% else %} {% if not show_sysobj %} - nspname NOT LIKE 'pg\_%' AND + nspname NOT LIKE 'pg!_%' escape '!' AND {% endif %} {% endif %} NOT ( diff --git a/web/pgadmin/browser/server_groups/servers/databases/schemas/templates/schemas/ppas/9.2_plus/sql/nodes.sql b/web/pgadmin/browser/server_groups/servers/databases/schemas/templates/schemas/ppas/9.2_plus/sql/nodes.sql index d132fb5a0..6da23892a 100644 --- a/web/pgadmin/browser/server_groups/servers/databases/schemas/templates/schemas/ppas/9.2_plus/sql/nodes.sql +++ b/web/pgadmin/browser/server_groups/servers/databases/schemas/templates/schemas/ppas/9.2_plus/sql/nodes.sql @@ -12,7 +12,7 @@ WHERE nsp.oid={{scid}}::oid AND {% else %} {% if not show_sysobj %} - nspname NOT LIKE 'pg\_%' AND + nspname NOT LIKE 'pg!_%' escape '!' AND {% endif %} {% endif %} NOT (