From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Improve style guideline compliance of assorted error-report mess
Date: Thu, 22 Mar 2018 21:33:22 +0000
Message-ID: <E1ez7pq-0002gy-NT@gemulon.postgresql.org> (raw)
Improve style guideline compliance of assorted error-report messages.
Per the project style guide, details and hints should have leading
capitalization and end with a period. On the other hand, errcontext should
not be capitalized and should not end with a period. To support well
formatted error contexts in dblink, extend dblink_res_error() to take a
format+arguments rather than a hardcoded string.
Daniel Gustafsson
Discussion: https://postgr.es/m/B3C002C8-21A0-4F53-A06E-8CAB29FCF295@yesql.se
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/feb8254518752b2cb4a8964c374dd82d49ef0e0d
Modified Files
--------------
contrib/dblink/dblink.c | 68 ++++++++++++++++++--------
contrib/dblink/expected/dblink.out | 24 ++++-----
contrib/file_fdw/file_fdw.c | 4 +-
contrib/pgcrypto/px.c | 4 +-
contrib/postgres_fdw/connection.c | 2 +-
contrib/postgres_fdw/expected/postgres_fdw.out | 14 +++---
contrib/postgres_fdw/option.c | 2 +-
src/backend/access/transam/xlog.c | 2 +-
src/backend/replication/logical/logical.c | 2 +-
9 files changed, 75 insertions(+), 47 deletions(-)
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: tgl@sss.pgh.pa.us
Subject: Re: pgsql: Improve style guideline compliance of assorted error-report mess
In-Reply-To: <E1ez7pq-0002gy-NT@gemulon.postgresql.org>
References: <E1ez7pq-0002gy-NT@gemulon.postgresql.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