pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter@eisentraut.org>
To: zengman <zengman@halodbtech.com>
To: pgsql-hackers <pgsql-hackers@postgresql.org>
Cc: Michael Paquier <michael@paquier.xyz>
Subject: Re: Small fixes for incorrect error messages
Date: Sat, 7 Feb 2026 23:03:36 +0100
Message-ID: <caaa147e-7eae-456f-9bc6-4fd23b1ef64e@eisentraut.org> (raw)
In-Reply-To: <tencent_511736CE5EE3509C36393D87@qq.com>
References: <tencent_1EE1430B1E6C18A663B8990F@qq.com>
	<ed8ff209-98f5-485e-92bf-8a5dcbf1727b@eisentraut.org>
	<tencent_511736CE5EE3509C36393D87@qq.com>

On 07.02.26 10:24, zengman wrote:
>>   It doesn't make sense to "stat a file for reading".  The changed message
>>   should probably just be
>> +		pg_fatal("could not stat file \"%s\": %m",
>>    				 fullpath);
> 
> You're right. I was careless earlier, my apologies.

Ok, I have fixed this.






view thread (8+ messages)  latest in thread

Message-ID: <caaa147e-7eae-456f-9bc6-4fd23b1ef64e@eisentraut.org>
Permalink:  ../caaa147e-7eae-456f-9bc6-4fd23b1ef64e@eisentraut.org/
Also on:    postgresql.org/message-id/caaa147e-7eae-456f-9bc6-4fd23b1ef64e@eisentraut.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-hackers@postgresql.org
  Cc: peter@eisentraut.org, zengman@halodbtech.com, michael@paquier.xyz
  Subject: Re: Small fixes for incorrect error messages
  In-Reply-To: <caaa147e-7eae-456f-9bc6-4fd23b1ef64e@eisentraut.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox