Replace words that have bad associations (#3992)

We had a few words in our codebase that static analysis flagged as having bad
associations.
(cherry picked from commit f6e2f1b1cb)
pull/4206/head
Jelte Fennema 2020-07-08 14:57:48 +02:00 committed by Onur Tirtir
parent 9a4fddc9c5
commit 48fab6f264
3 changed files with 4 additions and 4 deletions

View File

@ -915,7 +915,7 @@ NodeDDLTaskList(TargetWorkerSet targets, List *commands)
{ {
/* /*
* if there are no nodes we don't have to plan any ddl tasks. Planning them would * if there are no nodes we don't have to plan any ddl tasks. Planning them would
* cause a hang in the executor. * cause the executor to stop responding.
*/ */
return NIL; return NIL;
} }

View File

@ -367,8 +367,8 @@ CreateCertificate(EVP_PKEY *privateKey)
* Postgres does not check the validity on the certificates, but we can't omit the * Postgres does not check the validity on the certificates, but we can't omit the
* dates either to create a certificate that can be parsed. We settled on a validity * dates either to create a certificate that can be parsed. We settled on a validity
* of 0 seconds. When postgres would fix the validity check in a future version it * of 0 seconds. When postgres would fix the validity check in a future version it
* would fail right after an upgrade instead of setting a time bomb till certificate * would fail right after an upgrade. Instead of working until the certificate
* expiration date. * expiration date and then suddenly erroring out.
*/ */
X509_gmtime_adj(X509_get_notBefore(certificate), 0); X509_gmtime_adj(X509_get_notBefore(certificate), 0);
X509_gmtime_adj(X509_get_notAfter(certificate), 0); X509_gmtime_adj(X509_get_notAfter(certificate), 0);

View File

@ -96,7 +96,7 @@ typedef enum MultiConnectionStructInitializationState
} MultiConnectionStructInitializationState; } MultiConnectionStructInitializationState;
/* declaring this directly above makes uncrustify go crazy */ /* declaring this directly above causes uncrustify to format it badly */
typedef enum MultiConnectionMode MultiConnectionMode; typedef enum MultiConnectionMode MultiConnectionMode;
typedef struct MultiConnection typedef struct MultiConnection