From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Fix assorted minor bogosity in GSSAPI transport error messages. |
Date: | 2019-04-17 21:06:57 |
Message-ID: | E1hGrlh-0008DO-MK@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
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(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2019-04-17 21:30:36 | pgsql: Fix unportable code in pgbench. |
Previous Message | Tom Lane | 2019-04-17 17:37:05 | pgsql: Minor jsonpath fixes. |