Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VfyEx-0002Q8-Iu for pgsql-bugs@arkaria.postgresql.org; Mon, 11 Nov 2013 20:37:43 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1VfyEx-0002ko-1X for pgsql-bugs@arkaria.postgresql.org; Mon, 11 Nov 2013 20:37:43 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VfwdX-0003cV-R4 for pgsql-bugs@postgresql.org; Mon, 11 Nov 2013 18:54:59 +0000 Received: from mahout.postgresql.org ([2001:4800:7903:4::123]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VfwdV-0007b7-Dt for pgsql-bugs@postgresql.org; Mon, 11 Nov 2013 18:54:59 +0000 Received: from wrigleys.postgresql.org ([204.145.124.246]) by mahout.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VfwdU-0001u0-CH for pgsql-bugs@postgresql.org; Mon, 11 Nov 2013 18:54:56 +0000 Received: from www-data by wrigleys.postgresql.org with local (Exim 4.80) (envelope-from ) id 1VfwdP-0006k5-1S for pgsql-bugs@postgresql.org; Mon, 11 Nov 2013 18:54:51 +0000 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: BUG #8589: compression is "skipped" for pg_dump custom format when piped in python To: pgsql-bugs@postgresql.org From: tom.ty89@gmail.com Message-Id: Date: Mon, 11 Nov 2013 18:54:51 +0000 X-Pg-Spam-Score: -1.0 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org The following bug has been logged on the website: Bug reference: 8589 Logged by: Tom Yan Email address: tom.ty89@gmail.com PostgreSQL version: 9.2.4 Operating system: Windows 7 x64 Description: What I do is to pipe pg_dump -Fc to python's subprocess stdout. The dump file I got is still usable with pg_restore, just it's not compressed. It doesn't work even if I add -Z option manually. And this is likely not a python's issue since the I can have compression with -Z if I choose to export plain sql. -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs