diff options
author | Michael Paquier <michael@paquier.xyz> | 2022-03-15 11:29:23 +0900 |
---|---|---|
committer | Michael Paquier <michael@paquier.xyz> | 2022-03-15 11:29:35 +0900 |
commit | 6bdf1a1400d3fb8c87e020be943942dcab7e75e2 (patch) | |
tree | 36a89f562b86d31636c092256af2c7cb3ad2d106 /src/backend/commands/explain.c | |
parent | ff8b37ba801073b4506f670317141785bab9f4d8 (diff) | |
download | postgresql-6bdf1a1400d3fb8c87e020be943942dcab7e75e2.tar.gz postgresql-6bdf1a1400d3fb8c87e020be943942dcab7e75e2.zip |
Fix collection of typos in the code and the documentation
Some words were duplicated while other places were grammatically
incorrect, including one variable name in the code.
Author: Otto Kekalainen, Justin Pryzby
Discussion: https://postgr.es/m/7DDBEFC5-09B6-4325-B942-B563D1A24BDC@amazon.com
Diffstat (limited to 'src/backend/commands/explain.c')
-rw-r--r-- | src/backend/commands/explain.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/backend/commands/explain.c b/src/backend/commands/explain.c index de81379da39..9f632285b62 100644 --- a/src/backend/commands/explain.c +++ b/src/backend/commands/explain.c @@ -3102,7 +3102,7 @@ show_memoize_info(MemoizeState *mstate, List *ancestors, ExplainState *es) ListCell *lc; List *context; StringInfoData keystr; - char *seperator = ""; + char *separator = ""; bool useprefix; int64 memPeakKb; @@ -3123,11 +3123,11 @@ show_memoize_info(MemoizeState *mstate, List *ancestors, ExplainState *es) { Node *expr = (Node *) lfirst(lc); - appendStringInfoString(&keystr, seperator); + appendStringInfoString(&keystr, separator); appendStringInfoString(&keystr, deparse_expression(expr, context, useprefix, false)); - seperator = ", "; + separator = ", "; } if (es->format != EXPLAIN_FORMAT_TEXT) |