Re: PATCH: Fix the issue for saving query output as CSV

From: Dave Page <dpage(at)pgadmin(dot)org>
To: Murtuza Zabuawala <murtuza(dot)zabuawala(at)enterprisedb(dot)com>
Cc: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: Re: PATCH: Fix the issue for saving query output as CSV
Date: 2016-06-29 10:28:32
Message-ID: CA+OCxowkxZ_gt+4Q-k8y6Hr+ZyAc3EzRP9ddWAizj2_uZownww@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Neel is just adding the ability to save a file rather than display it.
His work won't add the APIs to do client-side downloads - though it
will be needed to support that.

On Wed, Jun 29, 2016 at 11:22 AM, Murtuza Zabuawala
<murtuza(dot)zabuawala(at)enterprisedb(dot)com> wrote:
> Yes, It will not work in runtime as well but I think Neel is working for fix in run time for this issue, We might able to fix it in run time but issue persists in Safari unless they add support in browser itself.
>
> https://webkit.org/status/#feature-download-attribute
>
>
>> On 29-Jun-2016, at 3:40 pm, Dave Page <dpage(at)pgadmin(dot)org> wrote:
>>
>> On Tue, Jun 28, 2016 at 10:33 AM, Murtuza Zabuawala
>> <murtuza(dot)zabuawala(at)enterprisedb(dot)com> wrote:
>>> Yes Dave, I agree that downloading files has been supported in browsers since long .
>>>
>>> But in general we send request & then receives files from web server but in our case we are fetching our data from Backbone models & then converting it to CSV format for downloading as a file at client side in browser itself.
>>
>> If Safari doesn't support client-side saving of files, then I have to
>> wonder if our runtime will either - both are webkit based.
>>
>> So I guess the next question to ask is; why don't we just generate the
>> CSV on the server side?
>>
>
> @Akshay,
> Can you please suggest on above?
>
>> --
>> Dave Page
>> Blog: http://pgsnake.blogspot.com
>> Twitter: @pgsnake
>>
>> EnterpriseDB UK: http://www.enterprisedb.com
>> The Enterprise PostgreSQL Company
>

--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

In response to

Browse pgadmin-hackers by date

  From Date Subject
Next Message Surinder Kumar 2016-06-29 10:49:12 Re: [pgAdmin4][Patch]: RM#1242 - Cleanup busy indication for tree view and tab panes
Previous Message Dave Page 2016-06-29 10:24:24 Re: PATCH: to fix jsonb type rendering in runtime (pgAdmin4)