Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bICS8-00079R-Eo for pgadmin-hackers@arkaria.postgresql.org; Wed, 29 Jun 2016 10:10:40 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bICS7-0007CL-NQ for pgadmin-hackers@arkaria.postgresql.org; Wed, 29 Jun 2016 10:10:39 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bICS7-0007CD-C2 for pgadmin-hackers@postgresql.org; Wed, 29 Jun 2016 10:10:39 +0000 Received: from mail-it0-x233.google.com ([2607:f8b0:4001:c0b::233]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1bICS4-0006L1-5o for pgadmin-hackers@postgresql.org; Wed, 29 Jun 2016 10:10:38 +0000 Received: by mail-it0-x233.google.com with SMTP id g127so113410249ith.0 for ; Wed, 29 Jun 2016 03:10:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pgadmin-org.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=FtpQedthnRbpvkkRrANF1hFFJCfZ/c/uiwCeWyyOjwE=; b=KqRAgXI1v5YXqxlU2H1C+m6v4WVlTPu9s6jPftUj8caFe47R+6kI2YAEwW+LBTVCcC wx4P38RkgHMDw2CUQ5XcIVS2920FppBjUXMKiJFGRFk111F60oIT9rTtvIU/HAuwTKSv Ui3Sv5LH8VyK+miz4g2NBRo0ddMgprjJ50Sak/bkroiE9cKR4bxY1H/MXP9qAUyqA/zX 7busHPs0HvKIs4vJKE+o7+K5hWcqh2+cCEnZFcdXmnZllrfqiVYiZPtvocLjeQV+f8k+ uVJCDYemsSZ75fOJmZpkzc7/AB7ATtdcdWcQg1X8BTELkNWXAJAPtRjNlPpfcDIDLAAS 4oAQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=FtpQedthnRbpvkkRrANF1hFFJCfZ/c/uiwCeWyyOjwE=; b=bcz1GbDNyf3oJZufHCghvpoaekDC7ozjURNbBd/jqqiK78CRdIexlHGSrkJFcdpjQX sQfSwk1+yXOoQ5z3SyzCJHy2gaBd6fWacbhxt5D1/orfoJdR0Y6BMKfAWxKN7u0kbiaq qQgRIrk4co6mREv/02zHIxDk4Og04NOJukPY1kHI1EDect6lCNyDm7cIau287PBO7eNO RLgr43BMeVuP0aDauUitYYrCI1joF7c8y3oa5s1mayrERcsTp5vbgcXED6FTznrclIkT 8DLbOJzvUZC94KwcNI8MNTHIvfB1ZZxz8Rpb1Z520q1a8kPw2hkyOspM5Bxn3AMsMrLN /dew== X-Gm-Message-State: ALyK8tKmhAN2cmFhpB2qcapP1jPBjFQ1DFa70eZiLQ0HKJGTPU/7ocvEsR4ODmEC4gaGftVe1pwTWe6UxkcC/A== X-Received: by 10.36.208.1 with SMTP id m1mr21085650itg.37.1467195034357; Wed, 29 Jun 2016 03:10:34 -0700 (PDT) MIME-Version: 1.0 Received: by 10.64.24.233 with HTTP; Wed, 29 Jun 2016 03:10:33 -0700 (PDT) In-Reply-To: <70470862-26C1-4281-838E-F2C755E5C645@enterprisedb.com> References: <70470862-26C1-4281-838E-F2C755E5C645@enterprisedb.com> From: Dave Page Date: Wed, 29 Jun 2016 11:10:33 +0100 Message-ID: Subject: Re: PATCH: Fix the issue for saving query output as CSV To: Murtuza Zabuawala Cc: pgadmin-hackers Content-Type: text/plain; charset=UTF-8 X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgadmin-hackers Precedence: bulk Sender: pgadmin-hackers-owner@postgresql.org On Tue, Jun 28, 2016 at 10:33 AM, Murtuza Zabuawala 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? -- Dave Page Blog: http://pgsnake.blogspot.com Twitter: @pgsnake EnterpriseDB UK: http://www.enterprisedb.com The Enterprise PostgreSQL Company -- Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgadmin-hackers