Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bICdY-0007jU-1I for pgadmin-hackers@arkaria.postgresql.org; Wed, 29 Jun 2016 10:22:28 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bICdX-0008RB-B8 for pgadmin-hackers@arkaria.postgresql.org; Wed, 29 Jun 2016 10:22:27 +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 1bICdW-0008R0-Ta for pgadmin-hackers@postgresql.org; Wed, 29 Jun 2016 10:22:26 +0000 Received: from mail-pf0-x235.google.com ([2607:f8b0:400e:c00::235]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1bICdT-0006YR-8g for pgadmin-hackers@postgresql.org; Wed, 29 Jun 2016 10:22:26 +0000 Received: by mail-pf0-x235.google.com with SMTP id t190so16928683pfb.3 for ; Wed, 29 Jun 2016 03:22:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=enterprisedb-com.20150623.gappssmtp.com; s=20150623; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=6REFZ6efFTPg8DQP7OizuIOXbL1ov2GYDZUUQruuKhs=; b=hOmm0sxi5+nnasjg6f4bapd2h4AaC3G+9jnrnTXPJaJ9M8Q5UR4+/ZKwxMoZ3sMIpr xLEH7okBx40UwdkjKjtGn1n1TX0lk3STE4N4OIAeDN66q8uSw+kMTOFsqppk5fG/Lpok aZbpIJ/WHmc/6LpJBU54GE3iySN2pk8UZMwKde6BRLodQDHCmSX8MS+XPWZihlDKCbq+ Dm8kIKbMDRqkVaZmAo+FmfFlwPS930e3ogsS021ssz9SvyvlPVXubBA87GTiuAnvVK/q tOEtjq5qFub7mAkY01A9qD39jA743iq2JuLbiQVAgXp5pzkJypzRjbHF0vf5lRvzj5TV 0dZg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=6REFZ6efFTPg8DQP7OizuIOXbL1ov2GYDZUUQruuKhs=; b=nLl4QincycLzDUGnc2VbnXRpgZvJJMsakNW1Fww+C5XQ4FY9f04UtUmtFVmAqeuHpf pTJarsfhbrh7GrGS64WcmZc5BnOuKJq58nnhJ0Ur/Iua9EAR0zhpmRp5sFon0j5YMMmK 3ChOZ7hmilckHbGMRirndS+CRtRxoI1lZ3GJ/ElaNNHByis3U2aHUtd1UqClXiDaAvty kUWfu9iXhWlNtd2eKzLwVAuSrA14yGhxa7eHvUZddF+t8/FZU19XI/X3lZw+60Y5ipqT hIUduOIvPkVH2yWFfUgyqBTEbSha2q7dBitlGFbmRcGZa0Q293eHMRCahCF4gB+lQ7wi Rshg== X-Gm-Message-State: ALyK8tKDz/yvNipFHp282oaq2Y01XmbkpaCX4HUnqe0ouybwAExzAl/0AsdlhsqqDy2kEAy+ X-Received: by 10.98.204.130 with SMTP id j2mr10134295pfk.147.1467195741137; Wed, 29 Jun 2016 03:22:21 -0700 (PDT) Received: from [172.24.35.232] ([59.162.78.200]) by smtp.gmail.com with ESMTPSA id v126sm4711832pfb.60.2016.06.29.03.22.19 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 29 Jun 2016 03:22:20 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) Subject: Re: PATCH: Fix the issue for saving query output as CSV From: Murtuza Zabuawala In-Reply-To: Date: Wed, 29 Jun 2016 15:52:17 +0530 Cc: pgadmin-hackers Content-Transfer-Encoding: quoted-printable Message-Id: <671D8CC8-C1D8-4CC1-BC32-431C496C4C5C@enterprisedb.com> References: <70470862-26C1-4281-838E-F2C755E5C645@enterprisedb.com> To: Dave Page X-Mailer: Apple Mail (2.2104) 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 Yes, It will not work in runtime as well but I think Neel is working for fi= x 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 wrote: >=20 > 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 . >>=20 >> 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 convertin= g it to CSV format for downloading as a file at client side in browser itse= lf. >=20 > If Safari doesn't support client-side saving of files, then I have to > wonder if our runtime will either - both are webkit based. >=20 > So I guess the next question to ask is; why don't we just generate the > CSV on the server side? >=20 @Akshay, Can you please suggest on above? > --=20 > Dave Page > Blog: http://pgsnake.blogspot.com > Twitter: @pgsnake >=20 > EnterpriseDB UK: http://www.enterprisedb.com > The Enterprise PostgreSQL Company --=20 Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgadmin-hackers