Unable to download macros query results (reference #RM5965) - Mailing list pgadmin-hackers

From Rahul Shirsat
Subject Unable to download macros query results (reference #RM5965)
Date
Msg-id CAKtn9dM=dEKHahvsVKfvUrMPVY+r9iOkEtXHi2tUJpuzF3Nd-Q@mail.gmail.com
Whole thread Raw
Responses Re: Unable to download macros query results (reference #RM5965)  (Dave Page <dpage@pgadmin.org>)
List pgadmin-hackers
Hi Team,

Users are unable to download macros query results.

Lets look out how download query result button works:

For pgadmin4, always downloads the latest query result when the user makes n-number of sql changes in the query tool, no need to execute, download takes care of it. Does not work with macros as query is needed in the query tool, which macros does not provide (While feature implementation, it was decided that macros query won't be added to the query tool, as users may lose any important queries in it).

In pgadmin3, always the last executed query result gets downloaded even if the user makes n-number of sql changes in the query tool. Works with macros. For the latest query change results, the user has to first execute before every download.

For Macros, with the pgadmin4 approach, even if we implement a download option, it would be difficult to decide whether to download the already ran macros or to download the query result present in the query tool.

Please suggest.

--
Rahul Shirsat
Senior Software Engineer | EnterpriseDB Corporation.

pgadmin-hackers by date:

Previous
From: Ashesh Vashi
Date:
Subject: Re: SameSite issues in Safari Browser (reference #RM5975)
Next
From: Dave Page
Date:
Subject: Re: Unable to download macros query results (reference #RM5965)