From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fix assorted minor bogosity in GSSAPI transport error messages.
Date: Wed, 17 Apr 2019 21:06:57 +0000
Message-ID: <E1hGrlh-0008DO-MK@gemulon.postgresql.org> (raw)
Fix assorted minor bogosity in GSSAPI transport error messages.
I noted that some buildfarm members were complaining about %ld being
used to format values that are (probably) declared size_t. Use %zu
instead, and insert a cast just in case some versions of the GSSAPI
API declare the length field differently. While at it, clean up
gratuitous differences in wording of equivalent messages, show
the complained-of length in all relevant messages not just some,
include trailing newline where needed, adjust random deviations
from project-standard code layout and message style, etc.
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/8cde7f49483d7e21569f61108fc80a8fe9e83e56
Modified Files
--------------
src/backend/libpq/be-secure-gssapi.c | 27 ++++++++++++++++++---------
src/interfaces/libpq/fe-secure-gssapi.c | 24 +++++++++++++-----------
2 files changed, 31 insertions(+), 20 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: Fix assorted minor bogosity in GSSAPI transport error messages.
In-Reply-To: <E1hGrlh-0008DO-MK@gemulon.postgresql.org>
References: <E1hGrlh-0008DO-MK@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