]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Fix assorted minor bogosity in GSSAPI transport error messages.
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 17 Apr 2019 21:06:50 +0000 (17:06 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 17 Apr 2019 21:06:50 +0000 (17:06 -0400)
commit8cde7f49483d7e21569f61108fc80a8fe9e83e56
treee2611633fbd763a941222c956c4f56d618e0cd2a
parentb4f96d69ad197731c1f5b959e1234c9ba3517ecb
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.
src/backend/libpq/be-secure-gssapi.c
src/interfaces/libpq/fe-secure-gssapi.c