aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>2019-01-23 13:39:00 +0200
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>2019-01-23 13:39:00 +0200
commit95931133a959404cf7320b49058b2f1c2e4606b9 (patch)
tree63249b639bc6c367db56cf0ad7cc06b75c9db99e /src/include
parent1699e6dd1fa7fbc7c3d114b121828eb27eb523b1 (diff)
downloadpostgresql-95931133a959404cf7320b49058b2f1c2e4606b9.tar.gz
postgresql-95931133a959404cf7320b49058b2f1c2e4606b9.zip
Fix misc typos in comments.
Spotted mostly by Fabien Coelho. Discussion: https://www.postgresql.org/message-id/alpine.DEB.2.21.1901230947050.16643@lancre
Diffstat (limited to 'src/include')
-rw-r--r--src/include/nodes/execnodes.h2
-rw-r--r--src/include/port.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/include/nodes/execnodes.h b/src/include/nodes/execnodes.h
index 7cae0851774..64e8ef37407 100644
--- a/src/include/nodes/execnodes.h
+++ b/src/include/nodes/execnodes.h
@@ -1136,7 +1136,7 @@ typedef struct ModifyTableState
* nplans how many plans are in the array
* whichplan which plan is being executed (0 .. n-1), or a
* special negative value. See nodeAppend.c.
- * pruningstate details required to allow partitions to be
+ * prune_state details required to allow partitions to be
* eliminated from the scan, or NULL if not possible.
* valid_subplans for runtime pruning, valid appendplans indexes to
* scan.
diff --git a/src/include/port.h b/src/include/port.h
index a55c4732623..485e771f99f 100644
--- a/src/include/port.h
+++ b/src/include/port.h
@@ -523,7 +523,7 @@ extern pqsigfunc pqsignal_no_restart(int signo, pqsigfunc func);
/* port/quotes.c */
extern char *escape_single_quotes_ascii(const char *src);
-/* port/wait_error.c */
+/* common/wait_error.c */
extern char *wait_result_to_str(int exit_status);
extern bool wait_result_is_signal(int exit_status, int signum);
extern bool wait_result_is_any_signal(int exit_status, bool include_command_not_found);