diff options
author | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2019-01-23 13:39:00 +0200 |
---|---|---|
committer | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2019-01-23 13:46:51 +0200 |
commit | a5e48d1ed42940e64a5f862e319fd4ff8329edb8 (patch) | |
tree | e92883ac0cdc9e5a9329a31deda6d31d486e47ee | |
parent | 844d91fd64961e02a5a4034badcd8f8caef85b4a (diff) | |
download | postgresql-a5e48d1ed42940e64a5f862e319fd4ff8329edb8.tar.gz postgresql-a5e48d1ed42940e64a5f862e319fd4ff8329edb8.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
-rw-r--r-- | contrib/pgcrypto/pgp-decrypt.c | 2 | ||||
-rw-r--r-- | src/include/port.h | 2 | ||||
-rw-r--r-- | src/pl/plpython/plpy_elog.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/contrib/pgcrypto/pgp-decrypt.c b/contrib/pgcrypto/pgp-decrypt.c index 5c69745156c..21c5450e219 100644 --- a/contrib/pgcrypto/pgp-decrypt.c +++ b/contrib/pgcrypto/pgp-decrypt.c @@ -132,7 +132,7 @@ pgp_parse_pkt_hdr(PullFilter *src, uint8 *tag, int *len_p, int allow_ctx) int res; uint8 *p; - /* EOF is normal here, thus we dont use GETBYTE */ + /* EOF is normal here, thus we don't use GETBYTE */ res = pullf_read(src, 1, &p); if (res < 0) return res; diff --git a/src/include/port.h b/src/include/port.h index 54baaa78d7c..4d5162551e6 100644 --- a/src/include/port.h +++ b/src/include/port.h @@ -465,7 +465,7 @@ extern pqsigfunc pqsignal(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); #endif /* PG_PORT_H */ diff --git a/src/pl/plpython/plpy_elog.c b/src/pl/plpython/plpy_elog.c index 7c5cd7a5836..865109ee6e2 100644 --- a/src/pl/plpython/plpy_elog.c +++ b/src/pl/plpython/plpy_elog.c @@ -213,7 +213,7 @@ PLy_traceback(PyObject *e, PyObject *v, PyObject *tb, *tb_depth = 0; initStringInfo(&tbstr); - /* Mimick Python traceback reporting as close as possible. */ + /* Mimic Python traceback reporting as close as possible. */ appendStringInfoString(&tbstr, "Traceback (most recent call last):"); while (tb != NULL && tb != Py_None) { |