Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bmUB4-0003cz-Ak for pgsql-bugs@arkaria.postgresql.org; Tue, 20 Sep 2016 23:10:14 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bmUB3-0004tc-Cl for pgsql-bugs@arkaria.postgresql.org; Tue, 20 Sep 2016 23:10:13 +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 1bmUB2-0004pB-3L for pgsql-bugs@postgresql.org; Tue, 20 Sep 2016 23:10:12 +0000 Received: from hogranch.com ([75.101.82.47]) by makus.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bmUAz-00014F-OU for pgsql-bugs@postgresql.org; Tue, 20 Sep 2016 23:10:10 +0000 Received: from [192.168.0.2] (porker [192.168.0.2]) by hogranch.com (8.11.6/8.11.6) with ESMTP id u8KNA5v06517 for ; Tue, 20 Sep 2016 16:10:05 -0700 Subject: Re: Segmentation fault with pg_restore To: "pgsql-bugs@postgresql.org" References: From: John R Pierce Message-ID: <81ab5fc4-ac8e-1d9c-eb45-cff16b2d86f5@hogranch.com> Date: Tue, 20 Sep 2016 16:10:05 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/alternative; boundary="------------5932A61DB36EDEDE1CF7ECAB" X-HawgScanner-Information: Please contact the ISP for more information X-HawgScanner: Found to be clean X-Pg-Spam-Score: -5.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 This is a multi-part message in MIME format. --------------5932A61DB36EDEDE1CF7ECAB Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit On 9/20/2016 3:48 PM, Peter Geoghegan wrote: > On Tue, Sep 20, 2016 at 11:41 PM, John R Pierce wrote: >> >a -Fc dumpfile's format should be compressed binary, not text. > So? It still shouldn't segfault. my point is, compressed binary files aren't 'DOS' *or* Unix, they are BINARY, so if vim sees ascii data, you're not looking at the right file. -- john r pierce, recycling bits in santa cruz --------------5932A61DB36EDEDE1CF7ECAB Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 7bit
On 9/20/2016 3:48 PM, Peter Geoghegan wrote:
On Tue, Sep 20, 2016 at 11:41 PM, John R Pierce <pierce@hogranch.com> wrote:
> a -Fc dumpfile's format should be compressed binary, not text.
So? It still shouldn't segfault.

my point is, compressed binary files aren't 'DOS' *or* Unix, they are BINARY, so if vim sees ascii data, you're not looking at the right file.


-- 
john r pierce, recycling bits in santa cruz
--------------5932A61DB36EDEDE1CF7ECAB--