Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1YuNWv-0002PY-VP for pgsql-committers@arkaria.postgresql.org; Mon, 18 May 2015 16:04:38 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1YuNWv-0002v3-FP for pgsql-committers@arkaria.postgresql.org; Mon, 18 May 2015 16:04:37 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1YuNWu-0002uw-Ig for pgsql-committers@postgresql.org; Mon, 18 May 2015 16:04:36 +0000 Received: from mail-qg0-x22f.google.com ([2607:f8b0:400d:c04::22f]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84) (envelope-from ) id 1YuNWj-0000Zn-GK for pgsql-committers@postgresql.org; Mon, 18 May 2015 16:04:35 +0000 Received: by qgde91 with SMTP id e91so24778634qgd.0 for ; Mon, 18 May 2015 09:04:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=r/IGTILXSXR/WxQRhbHa3BprhLPyydXaEs07zAFxdxE=; b=Ix55lV9xcxZRHBpzNVocT2oqOIRarZZKTIhll1k+6oYnpxVY+3wn0zCSUJ62NWVEtv /vLteCknjkGKvVzqJt5xZBXyvtxfA1yX8DKetbmDkk1/63z9xowMQZ39QF2tqHDsdDa2 8V/tRyq7/Cc4sW+idB2+m8pPjZUeE5gyPi5KSlS23N+oem4hz7FGM1HHNjakQbP+9gRu eR7qLiR4OOjfLIK2eE2ASAeFqAGW7CHnMeC7Z8Tir4tNhcdwBkqUd9N11zBPwmndVj00 lReD/ROoj02f1kY/MtOp2NtFj1icicQTM215jY5bPn0O1z1Vr/cFN14Ljf/zNCNR1n4q yFPg== MIME-Version: 1.0 X-Received: by 10.140.108.74 with SMTP id i68mr29548192qgf.73.1431965063924; Mon, 18 May 2015 09:04:23 -0700 (PDT) Received: by 10.140.250.139 with HTTP; Mon, 18 May 2015 09:04:23 -0700 (PDT) In-Reply-To: <14375.1431961473@sss.pgh.pa.us> References: <555943FB.8090703@gmx.net> <14375.1431961473@sss.pgh.pa.us> Date: Mon, 18 May 2015 12:04:23 -0400 Message-ID: Subject: Re: pgsql: Recursively fsync() the data directory after a crash. From: Robert Haas To: Tom Lane Cc: Peter Eisentraut , pgsql-committers Content-Type: text/plain; charset=UTF-8 X-Pg-Spam-Score: -2.7 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-committers Precedence: bulk Sender: pgsql-committers-owner@postgresql.org On Mon, May 18, 2015 at 11:04 AM, Tom Lane wrote: > Robert Haas writes: >> On Sun, May 17, 2015 at 9:44 PM, Peter Eisentraut wrote: >>> If there a reason why in pre_sync_fname(), the error message does not >>> contain a %m? > >> For consistency with the rest of the file, I suppose. Not sure why >> it's like that, but all the functions in the file do it that way. > > Huh? All the ones that are reporting kernel call failures certainly > have %m. Oops, you're right. I was looking at the wrong code. Yeah, that should probably be fixed. I'm not sure it's a good idea to do that right now though. -- Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers