pgAdmin 4 commit: Use 'set_config(...)' function to update the 'bytea_o

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

pgAdmin 4 commit: Use 'set_config(...)' function to update the 'bytea_o

Ashesh Vashi
Use 'set_config(...)' function to update the 'bytea_output' settings
instead of 'UPDATE' statement, which is not allowed in the the read-only
instances.

Reported by: Robert J. Rotter
Solution provided by: Tom Lane

Fixes #3973

Branch
------
master

Details
-------
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=eb3d3980e03df792afb7d53c9470827c29e6e4a2

Modified Files
--------------
web/pgadmin/utils/driver/psycopg2/connection.py | 14 ++++++++------
1 file changed, 8 insertions(+), 6 deletions(-)