Hi,
When using save or save as feature if .sql is not provided this Patch
appends it.
as clearly mentioned in this link.
https://redmine.postgresql.org/issues/1998
I have ran pep8,regression and Jasmine tests too.
I have primarily changed these files
web/pgadmin/tools/sqleditor/__init__.py
web/pgadmin/tools/sqleditor/static/js/sqleditor.js
web/pgadmin/tools/sqleditor/utils/save_query_to_file.py
Regards,
Rahul Soshte (Hunter)