Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jc9BT-00074B-JW for pgsql-general@arkaria.postgresql.org; Fri, 22 May 2020 15:02:03 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jc9BS-0008BG-Ee for pgsql-general@arkaria.postgresql.org; Fri, 22 May 2020 15:02:02 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jc9BS-0008B9-6V for pgsql-general@lists.postgresql.org; Fri, 22 May 2020 15:02:02 +0000 Received: from out5-smtp.messagingengine.com ([66.111.4.29]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jc9BP-0004RZ-CP for pgsql-general@postgresql.org; Fri, 22 May 2020 15:02:01 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 03B525C0070; Fri, 22 May 2020 11:01:58 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Fri, 22 May 2020 11:01:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= subject:to:cc:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm3; bh=i I3bRsie2UbuDcgBDPKIikru+Z4TV8eU7bydxVGvvPk=; b=NbR+mQrQNmFP7SJHh i39+J2iGKTx+xuBECZZP8oT+JQMSI5MmRQJwsw1RjwXTCJyc3v6aBLbJ6wzZgr2m xqcvsi7GhCI4cjAY+KdcFjp6aZqDvomLJOibTZz6FH0yVY5AVpaiLV3ViE8OX6HM 04kZ3p6IAriMkay7kjVu3/Ni22xLpkLoFfvUL7gioRIpZrSiJtIEyDepFIw18quZ GJbKo609rVYE2oGGpOeQZsr0Bc74vvQoNNrQ7PxSTuKrnQ4gNNPwbJ3AW/4dQuQJ 1bGAc/iAqGecH4ih+kKTbH0U2TwVsIQbynyjXtAnORMYZ+7sOBiuW5ZYQIiKC6FW //CGg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=iI3bRsie2UbuDcgBDPKIikru+Z4TV8eU7bydxVGvv Pk=; b=iz8OBFacjT63bDpuUS6iMOzRB7JoCj5D8C+3WqeMYcprKoA4+ysWBHd54 Of2KVJzZntEiluVQe89m6V69kcmfIOXGc4ezZ7qrgQL+IxaJ5qWfqNBu63siUPLY V7YVkZ9rS3dV0hwN2j2SWHwAqjmJKInsrB0m4uT3yfOU0XxpLm09P3Hlr2jlpaS/ eCEzMsZG5qSMgdw3aOCCrJkVmTkjAho60RgNJ5UW8Hs9i5ei57fqY6XNl0/0OE0D RsdMHgM5GCQjCI8cl27kdvzEfvPRaqoZSX47ySnHf++ONwnVpwIjW1JmD2ZW+8D6 lk1llmMGfxXKl4v6ZXG8WiaPZuelQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedruddufedgkeefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepuffvfhfhkffffgggjggtgfesthekredttdefjeenucfhrhhomheptegurhhi rghnucfmlhgrvhgvrhcuoegrughrihgrnhdrkhhlrghvvghrsegrkhhlrghvvghrrdgtoh hmqeenucggtffrrghtthgvrhhnpeevveefveefueegffekkefhgeeiueffgfetueejvdfg hfeujeejhfekjeelgedtgeenucfkphepjeehrddujedvrdehrddvfedunecuvehluhhsth gvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprggurhhirghnrdhklhgr vhgvrhesrghklhgrvhgvrhdrtghomh X-ME-Proxy: Received: from [192.168.1.3] (75-172-5-231.tukw.qwest.net [75.172.5.231]) by mail.messagingengine.com (Postfix) with ESMTPA id C2F933280064; Fri, 22 May 2020 11:01:56 -0400 (EDT) Subject: Re: pg_dump crashes To: Nico De Ranter Cc: pgsql-general@postgresql.org References: <38072bf3-a3dc-2a4c-21d3-a024a2dfce8b@aklaver.com> <5655d83a-85ff-e8c0-0547-828aca12db39@aklaver.com> From: Adrian Klaver Message-ID: Date: Fri, 22 May 2020 08:01:56 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 5/22/20 7:55 AM, Nico De Ranter wrote: > Correct. > > If I run 'pg_dumpall --cluster 11/main --file=dump.sql'   the end of the > file looks like: > > ###### cut here > 4557430888798830399 1061109567 1061109567 1061109567 1061109567 16191 \N > \N ?????????????????????????????? > 4557430888798830399 1061109567 1061109567 1061109567 1061109567 16191 \N > \N ?????????????????????????????? > \. > > ###### cut here > > If I run 'pg_dump --table=public.file --cluster 11/main > --file=dump-2.sql bacula'  those lines are actually followed by about > 850 or so lines that look ok.  I'm assuming the difference is due to > buffering. > However the fact that I do see a number of regular lines following this > may suggest it's just garbage in the table but not really causing the > issue afterall. Assuming the above matches: COPY public.file (fileid, fileindex, jobid, pathid, filenameid, deltaseq, markid, lstat, md5) the '????????????????????' would be for the md5 field. I'm going to say that is important. > > Nico > > > > -- Adrian Klaver adrian.klaver@aklaver.com