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

From: Murtuza Zabuawala <murtuza(dot)zabuawala(at)enterprisedb(dot)com>
To: Dave Page <dpage(at)pgadmin(dot)org>
Cc: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: Re: PATCH: Fix the issue for saving query output as CSV
Date: 2016-06-28 09:33:10
Message-ID: 70470862-26C1-4281-838E-F2C755E5C645@enterprisedb.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

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.

> On 28-Jun-2016, at 2:44 pm, Dave Page <dpage(at)pgadmin(dot)org> wrote:
>
> On Tue, Jun 28, 2016 at 7:08 AM, Murtuza Zabuawala
> <murtuza(dot)zabuawala(at)enterprisedb(dot)com> wrote:
>> Hi Dave,
>>
>> Yes, Safari is exception case because it does not support download attribute of hyperlink <a> element.
>>
>> Ref: http://caniuse.com/#feat=download
>>
>> I was not able to find any workaround for Safari as of now that’s is why I mentioned only Firefox & IE in my last email,
>> Earlier it was only working on Chrome and with this patch it will work with Chrome/Firefox/IE.
>
> Well downloading files has been supported in browsers since NCSA
> Mosaic, so it's nothing new :-). We need to fix this, one way or
> another.
>
> --
> Dave Page
> Blog: http://pgsnake.blogspot.com
> Twitter: @pgsnake
>
> EnterpriseDB UK: http://www.enterprisedb.com
> The Enterprise PostgreSQL Company

In response to

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Murtuza Zabuawala 2016-06-28 11:30:06 PATCH: 'serial' like types were missing while creating table/column (pgAdmin4)
Previous Message Surinder Kumar 2016-06-28 09:29:27 [pgAdmin4][Patch]: RM#1400 - Application loading indicator