]> git.ipfire.org Git - thirdparty/postgresql.git/commitdiff
Fix misc typos in comments.
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Wed, 23 Jan 2019 11:39:00 +0000 (13:39 +0200)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Wed, 23 Jan 2019 11:46:51 +0000 (13:46 +0200)
Spotted mostly by Fabien Coelho.

Discussion: https://www.postgresql.org/message-id/alpine.DEB.2.21.1901230947050.16643@lancre

contrib/pgcrypto/pgp-decrypt.c
src/include/port.h
src/pl/plpython/plpy_elog.c

index 5c69745156ccba0884bd82d3f6863e9f56d85ccc..21c5450e219eea5541cbeb70e6f8620655674d0f 100644 (file)
@@ -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;
index 54baaa78d7c42bf7e1d877df4155ac3819ed85a3..4d5162551e6ecf30e97c9f20affd8c034143ab19 100644 (file)
@@ -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 */
index 7c5cd7a58369381cbdb46350524218422bb243b1..865109ee6e245ebd84f9f2511a91a1e35115c129 100644 (file)
@@ -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)
        {