mirror of
https://github.com/postgres/postgres.git
synced 2025-05-21 15:54:08 +03:00
Fix misc typos in comments.
Spotted mostly by Fabien Coelho. Discussion: https://www.postgresql.org/message-id/alpine.DEB.2.21.1901230947050.16643@lancre
This commit is contained in:
parent
c9ff6cbfc4
commit
e46a475718
@ -132,7 +132,7 @@ pgp_parse_pkt_hdr(PullFilter *src, uint8 *tag, int *len_p, int allow_ctx)
|
|||||||
int res;
|
int res;
|
||||||
uint8 *p;
|
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);
|
res = pullf_read(src, 1, &p);
|
||||||
if (res < 0)
|
if (res < 0)
|
||||||
return res;
|
return res;
|
||||||
|
@ -477,7 +477,7 @@ extern pqsigfunc pqsignal(int signo, pqsigfunc func);
|
|||||||
/* port/quotes.c */
|
/* port/quotes.c */
|
||||||
extern char *escape_single_quotes_ascii(const char *src);
|
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 char *wait_result_to_str(int exit_status);
|
||||||
|
|
||||||
#endif /* PG_PORT_H */
|
#endif /* PG_PORT_H */
|
||||||
|
@ -213,7 +213,7 @@ PLy_traceback(PyObject *e, PyObject *v, PyObject *tb,
|
|||||||
|
|
||||||
*tb_depth = 0;
|
*tb_depth = 0;
|
||||||
initStringInfo(&tbstr);
|
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):");
|
appendStringInfoString(&tbstr, "Traceback (most recent call last):");
|
||||||
while (tb != NULL && tb != Py_None)
|
while (tb != NULL && tb != Py_None)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user