Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fExxo-00030U-BF for pgsql-general@arkaria.postgresql.org; Sat, 05 May 2018 14:15:04 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fExxm-00032P-Gj for pgsql-general@arkaria.postgresql.org; Sat, 05 May 2018 14:15:02 +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.89) (envelope-from ) id 1fExxm-000323-3E for pgsql-general@lists.postgresql.org; Sat, 05 May 2018 14:15:02 +0000 Received: from mail-oi0-x242.google.com ([2607:f8b0:4003:c06::242]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1fExxj-0000Cu-ND for pgsql-general@postgresql.org; Sat, 05 May 2018 14:15:00 +0000 Received: by mail-oi0-x242.google.com with SMTP id w123-v6so12600786oia.4 for ; Sat, 05 May 2018 07:14:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=to:from:subject:message-id:date:user-agent:mime-version :content-transfer-encoding:content-language; bh=8eHlywyXdMQBO8k7P6ZWeqwWOr3KtnhDCvNf9X2emd8=; b=dgn5W1ML5z37pgxJwpsxvwvTx5ICLEtD5CCMsvJlCOEnNsuDMlvnfUcL6X1fXgNUGF 2754Y4hf3dpuiT/8ajP1C/a9kYoaEs2fCFqPGY8rPPrzAFunqydHZ9tMtVKn1Xb5TdDz EJJ7Tsj9CZYYcCr0RbL2G8iobnyl1GeNn7n+QcSp5xBA0pwPM1iG3arF/dE7th7QRG+M 7gHXrpUx/+FlwC+IRSfPe8hEs4Oy89BIVANASrMWC78sJGCIocKKQyj62o1ybTvmMuOl qnHBzb8mT5AYhKEMU3F9+YXysvkVtnqoonzbvlq3r+jiez+c4d1KDRm3F6+3MaPF/gwR eLtg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-transfer-encoding:content-language; bh=8eHlywyXdMQBO8k7P6ZWeqwWOr3KtnhDCvNf9X2emd8=; b=HDV7uq5LQiW0ZUmF4cUdm4ogde222JROd5GetQQEt7b0dF5IAEhxyHzBr9KpWfVvn6 6+bh1Lx8IjKem/AjGadiZSjeaYDcxq/q8eK9wSa7vF8C2grXQcHNZjrR62RmZKadn062 yar/TmqnAHjZugbjeG+nwJXDBpM8awR7wXNfXg2VyTsKAt/nQs3S/I4+KwNXRcc9yDFG N3jNIKi//a3Afk7IKj1R8qgWVg0jhMUJVX5QJy54qMfu7xCeTGrarM1XHzUwhbXCwyuo aSrcqxcoclsM6qlNRU51qp7eg0i7IieIxm8enQ8LuOBjOJ71TNS3tbVYXJTjM3QTa4Ae 7w+Q== X-Gm-Message-State: ALQs6tDrG+IWaxt4ca6jwQOUUmgzldIjqmbCWFbGH8rNll4/XJigsKsM Uemd2FyYrb0ap8gIHHNrZJ6OSg== X-Google-Smtp-Source: AB8JxZqC6nWAMuca7/zodhXE/z7SeTKj7d2yInk+gL9Bd79SZ7q0MotC/kKMQYjwaHdAvbeszzqnyA== X-Received: by 2002:aca:f354:: with SMTP id r81-v6mr20163793oih.161.1525529698347; Sat, 05 May 2018 07:14:58 -0700 (PDT) Received: from [192.168.1.10] (ip70-171-116-89.no.no.cox.net. [70.171.116.89]) by smtp.googlemail.com with ESMTPSA id f21-v6sm12072961otj.0.2018.05.05.07.14.56 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 05 May 2018 07:14:57 -0700 (PDT) To: pgsql-general@postgresql.org From: Ron Subject: pg_dump with compressible and non-compressible tables Message-ID: <235eb14a-c215-9a57-9e4d-adefef8fc0c1@gmail.com> Date: Sat, 5 May 2018 09:14:56 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Hi, v9.6 We've got big databases where some of the tables are highly compressible, but some have many bytea fields containing PDF files. When the data format is custom, directory or tar, how feasible would a "--no-blob-compression" option be (where pg_dump just tells the zlib library to just Store tables with bytea columns, while compressing all other tables at the specified -Z level)? Thanks -- Angular momentum makes the world go 'round.