| From: | Japin Li <japinli(at)hotmail(dot)com> |
|---|---|
| To: | PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
| Subject: | Fix comment typo in canonicalize_path_enc() |
| Date: | 2026-07-13 03:34:38 |
| Message-ID: | SY7PR01MB1092170A5137805D8C0E45BEAB6FA2@SY7PR01MB10921.ausprd01.prod.outlook.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
Hi, hackers
I found a small typo in the canonicalize_path_enc() comment -- it should be
"parsed", not "parse".
diff --git a/src/port/path.c b/src/port/path.c
index fef0ae77f87..3938ff33af3 100644
--- a/src/port/path.c
+++ b/src/port/path.c
@@ -408,7 +408,7 @@ canonicalize_path_enc(char *path, int encoding)
*
* This loop overwrites the path in-place. This is safe since we'll never
* make the path longer. "unparse" points to where we are reading the
- * path, "parse" to where we are writing.
+ * path, "parsed" to where we are writing.
*/
spath = skip_drive(path);
if (*spath == '\0')
--
Regards,
Japin Li
ChengDu WenWu Information Technology Co., Ltd.
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Noah Misch | 2026-07-13 03:35:36 | Re: sequencesync worker race with REFRESH SEQUENCES |
| Previous Message | Amit Kapila | 2026-07-13 03:23:42 | Re: sequencesync worker race with REFRESH SEQUENCES |