Ensure that the macro query result should be download properly. Fixes #5965
Branch
------
master
Details
-------
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=6475a7051424d2ced3753abc3d72c59056a6eba7
Author: Rahul Shirsat <rahul.shirsat@enterprisedb.com>
Modified Files
--------------
docs/en_US/query_tool.rst | 2 +-
docs/en_US/query_tool_toolbar.rst | 8 ++--
docs/en_US/release_notes_4_30.rst | 1 +
web/pgadmin/static/js/keyboard_shortcuts.js | 8 ++--
.../static/js/sqleditor/call_render_after_poll.js | 1 +
web/pgadmin/static/js/sqleditor/execute_query.js | 7 ++-
.../static/js/sqleditor/query_tool_actions.js | 8 +---
.../static/js/sqleditor/query_tool_preferences.js | 6 +--
.../tools/datagrid/templates/datagrid/index.html | 4 +-
web/pgadmin/tools/sqleditor/__init__.py | 8 ++--
web/pgadmin/tools/sqleditor/static/js/sqleditor.js | 46 +++++++++++-------
.../tests/test_download_csv_query_tool.py | 28 ++++++++++-
.../sqleditor/utils/query_tool_preferences.py | 4 +-
web/pgadmin/utils/driver/psycopg2/connection.py | 56 ++++++++++++++--------
.../sqleditor/call_render_after_poll_spec.js | 17 +++++++
.../javascript/sqleditor/execute_query_spec.js | 1 +
.../sqleditor/keyboard_shortcuts_spec.js | 2 +-
.../sqleditor/query_tool_actions_spec.js | 16 +++----
18 files changed, 147 insertions(+), 76 deletions(-)