From: | Michael Paquier <michael(at)paquier(dot)xyz> |
---|---|
To: | Postgres hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | More consistency for some file-related error message |
Date: | 2018-07-18 04:47:11 |
Message-ID: | 20180718044711.GA8565@paquier.xyz |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Hi all,
While looking at the source code for more consistency work with error
messages, I have bumped into a couple of messages which could be
simplified, as those include in the name of the file manipulated
basically the same information as the context added.
I have finished with the attached. Note that for most of the messages,
I think that the context can be useful, like for example the stats
temporary file which could be user-defined, so those are left out.
There are also other cases, say the reorder buffer spill file, where we
may not know the path worked on, so the messages are kept consistent as
per HEAD.
That's a bit less work to do for translators, particularly with
pg_stat_statements.
Thoughts?
--
Michael
Attachment | Content-Type | Size |
---|---|---|
error-consistency.patch | text/x-diff | 10.0 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Andrey Borodin | 2018-07-18 05:06:18 | Re: GSOC 2018 Project - A New Sorting Routine |
Previous Message | David Fetter | 2018-07-18 04:11:23 | Re: Make foo=null a warning by default. |