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 1miewv-0004fE-Ox for pgsql-www@arkaria.postgresql.org; Thu, 04 Nov 2021 15:46:45 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1miewu-00075D-NF for pgsql-www@arkaria.postgresql.org; Thu, 04 Nov 2021 15:46:44 +0000 Received: from [2001:4800:3e1:1::229] (helo=makus.postgresql.org) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1miewu-000710-HL for pgsql-www@lists.postgresql.org; Thu, 04 Nov 2021 15:46:44 +0000 Received: from ploudseeker.com ([78.199.165.48]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1miewi-0005JO-6K for pgsql-www@lists.postgresql.org; Thu, 04 Nov 2021 15:46:33 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cmatte.me; s=myselector; t=1636040790; bh=zcmNHjchTUeOYI/ntxP6hESbj9rkMmicvke//7z05Vg=; h=Date:Subject:To:References:From:In-Reply-To; b=EEMsW37KsPwXO4WhUVIVfryqzdrC49iyWvyfjQYMDc0NL3vX4SuKB6CpzDfxLDlYC +KtREQgddVrMQoGa2GJcTKGLvpJKamkXcy15QdvA7vCY2SAoU+z2v4t05h0xCY4a5h XJfl1q4Olgtl152+aTbtjYCGqcFteeKRe/LECXTdL4FAxJ1qqJTBFxoS9gvREgmHZf jXi5x0qM82PXxtv5v413eeEOVQEnHGKCz2qF0dKZgQyGv3sQP96Bd1veYIGn5kbeW2 T5N0QMLM+rDzFeeM6quRxXEOXqRaxKYV8Zlp7+zsdZHj5ElBBaT1ZduflUWj/JAc7G 2Vvkh1/fgTXnA== Message-ID: <880875d1-9e07-3776-3981-bbb96520302b@cmatte.me> Date: Thu, 4 Nov 2021 16:46:29 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.2.1 Subject: Re: [PATCH] pgarchives: parser: handle messages in which Message-ID is missing Content-Language: en-US To: pgsql-www@lists.postgresql.org References: From: =?UTF-8?Q?C=c3=a9lestin_Matte?= In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk > It's supposed to remove non-ascii characters. > > I think this is a leftover from the py2->py3 conversion. It looks like an overenthusiastic regexp replacement in the 2to3 tool. See bb5775ef where it came from. I'll go change it to jut str(err). Right. Beware that there are other similar failing conversions in the same commit on lines in loader/lib/parser.py that should be addressed as well -- Célestin Matte