From: zengman <zengman@halodbtech.com>
To: Peter Eisentraut <peter@eisentraut.org>
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 17:24:44 +0800
Message-ID: <tencent_511736CE5EE3509C36393D87@qq.com> (raw)
In-Reply-To: <ed8ff209-98f5-485e-92bf-8a5dcbf1727b@eisentraut.org>
References: <tencent_1EE1430B1E6C18A663B8990F@qq.com>
<ed8ff209-98f5-485e-92bf-8a5dcbf1727b@eisentraut.org>
> 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.
--
regards,
Man Zeng
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: zengman@halodbtech.com, peter@eisentraut.org, michael@paquier.xyz
Subject: Re: Small fixes for incorrect error messages
In-Reply-To: <tencent_511736CE5EE3509C36393D87@qq.com>
* 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