Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bICjW-000830-MA for pgadmin-hackers@arkaria.postgresql.org; Wed, 29 Jun 2016 10:28:38 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bICjW-0000eq-5q for pgadmin-hackers@arkaria.postgresql.org; Wed, 29 Jun 2016 10:28:38 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bICjU-0000eB-Vo for pgadmin-hackers@postgresql.org; Wed, 29 Jun 2016 10:28:37 +0000 Received: from mail-it0-x235.google.com ([2607:f8b0:4001:c0b::235]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1bICjS-0002mX-64 for pgadmin-hackers@postgresql.org; Wed, 29 Jun 2016 10:28:35 +0000 Received: by mail-it0-x235.google.com with SMTP id a5so115696129ita.1 for ; Wed, 29 Jun 2016 03:28:34 -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=W3suFxBIIeS2DWorD2mhQJU51s7Rpc3U43TmVL8Phy4=; b=ivrjUM2pk7yC8+l/I5e8gWH7HdbxksPK2KIl2hfG4fj/3etAHJSAOh7DcwlAvOZMOB bdfPIFSZhHqxX8ZnWWRh8VcVRgsuT6P5bWaKwqhZ5XI5WOSjMNXW8JWXStoqGCE+EOgH L8y2aiGlY9IH6RhCJdbe4IyxlNIh2LpFwQ2ZbjxAwSGGTtjFm3yMkGAzBhgz+5Lm8hFe dr1kEnFxuFLVSJDwfGUVOkrHWOCoxFoY9TZPg+8gLj1gZ49CJ8EnbjcGzeamEruI80g3 bqfEpJQZO+jNwezPcKIBUIwhlLb/rpjGtIwM7gCZHtPkJLWFBghbX7zId3QWwYLmz7Kb B2gw== 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=W3suFxBIIeS2DWorD2mhQJU51s7Rpc3U43TmVL8Phy4=; b=JHRrSkPF9oeCEy4VZI0D2sApLY+ki7nkFPRTIm9kY+zZVwcumep+S2AnHVvCxV831v eY19xd5stBLd2wguBsVdtjVj2Y2+kcMy6N1o2A6CIZ4pOK4h4DxNZqzb/LmoiTzknzrl ZdUATRR6si9z2jQuybpxikO0v1NO3Pn+xAbjRfz4CPIHVT2JhAO5iaJWc9e+PhFILeGJ ACpPXSAn2Nrcv4+sLcm2oH057/6UYxgn+vCKOTj1MmMx2iNSDm+6zBiG3OEPQPoeXagA BdqNlfCXdD1AZsyjujOYgxPKlAdJYVb4w7uJSP0dFRyu23typaFGugpaMNXjsRj55ywg tlGQ== X-Gm-Message-State: ALyK8tK7IjReeoBy9IyTv3E5w2KQurrC4pDUjVDNOpYB9GwJFAMDU+plCqfhw+GEU4NNSZf/KXrCY11HSTuCWg== X-Received: by 10.36.22.195 with SMTP id a186mr9423512ita.37.1467196113380; Wed, 29 Jun 2016 03:28:33 -0700 (PDT) MIME-Version: 1.0 Received: by 10.64.24.233 with HTTP; Wed, 29 Jun 2016 03:28:32 -0700 (PDT) In-Reply-To: <671D8CC8-C1D8-4CC1-BC32-431C496C4C5C@enterprisedb.com> References: <70470862-26C1-4281-838E-F2C755E5C645@enterprisedb.com> <671D8CC8-C1D8-4CC1-BC32-431C496C4C5C@enterprisedb.com> From: Dave Page Date: Wed, 29 Jun 2016 11:28:32 +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 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 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 wrote: >> >> 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? >> > > @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 -- Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgadmin-hackers