diff --git a/docs/en_US/release_notes_4_25.rst b/docs/en_US/release_notes_4_25.rst index e93754cc4..8c28e677d 100644 --- a/docs/en_US/release_notes_4_25.rst +++ b/docs/en_US/release_notes_4_25.rst @@ -32,6 +32,7 @@ Bug fixes | `Issue #5429 `_ - Ensure that the Dictionaries drop-down shows all the dictionaries in the FTS configuration dialog. | `Issue #5490 `_ - Make the runtime configuration dialog non-modal. | `Issue #5526 `_ - Fixed an issue where copying and pasting a cell with multiple line data will result in multiple rows. +| `Issue #5567 `_ - Fixed an issue where conversion of bytea to the binary string results in an error. | `Issue #5632 `_ - Ensure that the user will be able to modify the start value of the Identity column. | `Issue #5646 `_ - Ensure that RLS Policy node should be searchable using search object. | `Issue #5664 `_ - Fixed an issue where 'ALTER VIEW' statement is missing when the user sets the default value of a column for View. diff --git a/web/pgadmin/utils/driver/psycopg2/connection.py b/web/pgadmin/utils/driver/psycopg2/connection.py index 33af4f57c..08cf20c8d 100644 --- a/web/pgadmin/utils/driver/psycopg2/connection.py +++ b/web/pgadmin/utils/driver/psycopg2/connection.py @@ -403,7 +403,7 @@ class Connection(BaseConnection): cur, "SET DateStyle=ISO; " "SET client_min_messages=notice; " - "SELECT set_config('bytea_output','escape',false) FROM pg_settings" + "SELECT set_config('bytea_output','hex',false) FROM pg_settings" " WHERE name = 'bytea_output'; " "SET client_encoding='{0}';".format(postgres_encoding) )