pgsql: Doc: clarify behavior of PQconnectdbParams().

2020-11-29 Thread Tom Lane
Doc: clarify behavior of PQconnectdbParams(). The documentation omitted the critical tidbit that a keyword-array entry is simply ignored if its corresponding value-array entry is NULL or an empty string; it will *not* override any previously-obtained value for the parameter. (See conninfo_array_p

pgsql: Doc: clarify behavior of PQconnectdbParams().

2020-11-29 Thread Tom Lane
Doc: clarify behavior of PQconnectdbParams(). The documentation omitted the critical tidbit that a keyword-array entry is simply ignored if its corresponding value-array entry is NULL or an empty string; it will *not* override any previously-obtained value for the parameter. (See conninfo_array_p

pgsql: Doc: clarify behavior of PQconnectdbParams().

2020-11-29 Thread Tom Lane
Doc: clarify behavior of PQconnectdbParams(). The documentation omitted the critical tidbit that a keyword-array entry is simply ignored if its corresponding value-array entry is NULL or an empty string; it will *not* override any previously-obtained value for the parameter. (See conninfo_array_p

pgsql: Doc: clarify behavior of PQconnectdbParams().

2020-11-29 Thread Tom Lane
Doc: clarify behavior of PQconnectdbParams(). The documentation omitted the critical tidbit that a keyword-array entry is simply ignored if its corresponding value-array entry is NULL or an empty string; it will *not* override any previously-obtained value for the parameter. (See conninfo_array_p

pgsql: Doc: clarify behavior of PQconnectdbParams().

2020-11-29 Thread Tom Lane
Doc: clarify behavior of PQconnectdbParams(). The documentation omitted the critical tidbit that a keyword-array entry is simply ignored if its corresponding value-array entry is NULL or an empty string; it will *not* override any previously-obtained value for the parameter. (See conninfo_array_p

pgsql: Doc: clarify behavior of PQconnectdbParams().

2020-11-29 Thread Tom Lane
Doc: clarify behavior of PQconnectdbParams(). The documentation omitted the critical tidbit that a keyword-array entry is simply ignored if its corresponding value-array entry is NULL or an empty string; it will *not* override any previously-obtained value for the parameter. (See conninfo_array_p

pgsql: Doc: clarify behavior of PQconnectdbParams().

2020-11-29 Thread Tom Lane
Doc: clarify behavior of PQconnectdbParams(). The documentation omitted the critical tidbit that a keyword-array entry is simply ignored if its corresponding value-array entry is NULL or an empty string; it will *not* override any previously-obtained value for the parameter. (See conninfo_array_p

pgsql: Fix recently-introduced breakage in psql's \connect command.

2020-11-29 Thread Tom Lane
Fix recently-introduced breakage in psql's \connect command. Through my misreading of what the existing code actually did, commits 85c54287a et al. broke psql's behavior for the case where "\c connstring" provides a password in the connstring. We should use that password in such a case, but as of

pgsql: Fix recently-introduced breakage in psql's \connect command.

2020-11-29 Thread Tom Lane
Fix recently-introduced breakage in psql's \connect command. Through my misreading of what the existing code actually did, commits 85c54287a et al. broke psql's behavior for the case where "\c connstring" provides a password in the connstring. We should use that password in such a case, but as of

pgsql: Fix recently-introduced breakage in psql's \connect command.

2020-11-29 Thread Tom Lane
Fix recently-introduced breakage in psql's \connect command. Through my misreading of what the existing code actually did, commits 85c54287a et al. broke psql's behavior for the case where "\c connstring" provides a password in the connstring. We should use that password in such a case, but as of

pgsql: Fix recently-introduced breakage in psql's \connect command.

2020-11-29 Thread Tom Lane
Fix recently-introduced breakage in psql's \connect command. Through my misreading of what the existing code actually did, commits 85c54287a et al. broke psql's behavior for the case where "\c connstring" provides a password in the connstring. We should use that password in such a case, but as of

pgsql: Fix recently-introduced breakage in psql's \connect command.

2020-11-29 Thread Tom Lane
Fix recently-introduced breakage in psql's \connect command. Through my misreading of what the existing code actually did, commits 85c54287a et al. broke psql's behavior for the case where "\c connstring" provides a password in the connstring. We should use that password in such a case, but as of

pgsql: Fix recently-introduced breakage in psql's \connect command.

2020-11-29 Thread Tom Lane
Fix recently-introduced breakage in psql's \connect command. Through my misreading of what the existing code actually did, commits 85c54287a et al. broke psql's behavior for the case where "\c connstring" provides a password in the connstring. We should use that password in such a case, but as of

pgsql: Fix recently-introduced breakage in psql's \connect command.

2020-11-29 Thread Tom Lane
Fix recently-introduced breakage in psql's \connect command. Through my misreading of what the existing code actually did, commits 85c54287a et al. broke psql's behavior for the case where "\c connstring" provides a password in the connstring. We should use that password in such a case, but as of

pgsql: Improve log message about termination of background workers.

2020-11-29 Thread Fujii Masao
Improve log message about termination of background workers. Previously the shutdown of a background worker that uses die() as SIGTERM signal handler produced the log message "terminating connection due to administrator command". This log message was confusing because a background worker is not a

pgsql: Fix typo in comment.

2020-11-29 Thread Fujii Masao
Fix typo in comment. Author: Haiying Tang Discussion: https://postgr.es/m/48a0928ac94b497d9c40acf1de394c15@G08CNEXMBPEKD05.g08.fujitsu.local Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/6742e14959a3033d946ab3d67f5ce4c99367d332 Modified Files -- src