mirror of
https://github.com/postgres/postgres.git
synced 2025-07-15 19:21:59 +03:00
Initial pgindent run for v12.
This is still using the 2.0 version of pg_bsd_indent. I thought it would be good to commit this separately, so as to document the differences between 2.0 and 2.1 behavior. Discussion: https://postgr.es/m/16296.1558103386@sss.pgh.pa.us
This commit is contained in:
@ -313,7 +313,7 @@ static const internalPQconninfoOption PQconninfoOptions[] = {
|
||||
* and "prefer".
|
||||
*/
|
||||
{"gssencmode", "PGGSSENCMODE", DefaultGSSMode, NULL,
|
||||
"GSSENC-Mode", "", 7, /* sizeof("disable") == 7 */
|
||||
"GSSENC-Mode", "", 7, /* sizeof("disable") == 7 */
|
||||
offsetof(struct pg_conn, gssencmode)},
|
||||
|
||||
#if defined(ENABLE_GSS) || defined(ENABLE_SSPI)
|
||||
@ -2420,6 +2420,7 @@ keep_going: /* We will come back to here until there is
|
||||
getHostaddr(conn, host_addr, NI_MAXHOST);
|
||||
if (strlen(host_addr) > 0)
|
||||
conn->connip = strdup(host_addr);
|
||||
|
||||
/*
|
||||
* purposely ignore strdup failure; not a big problem if
|
||||
* it fails anyway.
|
||||
|
Reference in New Issue
Block a user