[pgAdmin4][Patch][Feature #1998] Appends .sql if extension not given when using 'save' or 'save as' feature

From: Rahul Soshte <rahulsoshte360(at)gmail(dot)com>
To: pgadmin-hackers(at)postgresql(dot)org
Subject: [pgAdmin4][Patch][Feature #1998] Appends .sql if extension not given when using 'save' or 'save as' feature
Date: 2018-03-29 16:53:51
Message-ID: CAKyzeV1fMB6rPMF+LCMY7B6_2-j7DZfmh307dBFemtR=4taX6g@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

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)

Attachment Content-Type Size
sqlappendextensionfinal.diff text/x-patch 331.4 KB

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Robert Eckhardt 2018-03-29 17:07:55 Re: [pgAdmin4][Patch]: RM #3180 Index node is missing from the tree view of the table node
Previous Message Murtuza Zabuawala 2018-03-29 16:45:01 Re: [pgAdmin4][Patch]: RM #3180 Index node is missing from the tree view of the table node