File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -390,7 +390,7 @@ ptrackCheckpoint(void)
390390 /*
391391 * We are writing ptrack map values to file, but we want to simply map it
392392 * into the memory with mmap after a crash/restart. That way, we have to
393- * write values taking into account all paddings/allignments .
393+ * write values taking into account all paddings/alignments .
394394 *
395395 * Write both magic and varsion_num at once.
396396 */
@@ -447,7 +447,7 @@ ptrackCheckpoint(void)
447447 * going to overflow. */
448448
449449 /*
450- * We should not have any allignment issues here, since sizeof()
450+ * We should not have any alignment issues here, since sizeof()
451451 * takes into account all paddings for us.
452452 */
453453 ptrack_write_chunk (ptrack_tmp_fd , & crc , (char * ) buf , writesz );
@@ -458,7 +458,7 @@ ptrackCheckpoint(void)
458458 }
459459 }
460460
461- /* Write if anythig left */
461+ /* Write if anything left */
462462 if ((i + 1 ) % PTRACK_BUF_SIZE != 0 )
463463 {
464464 size_t writesz = sizeof (pg_atomic_uint64 ) * j ;
Original file line number Diff line number Diff line change @@ -137,7 +137,7 @@ _PG_fini(void)
137137
138138/*
139139 * Ptrack follow up for copydir() routine. It parses database OID
140- * and tablespace OID from path string. We do not need to recoursively
140+ * and tablespace OID from path string. We do not need to recursively
141141 * walk subdirs here, copydir() will do it for us if needed.
142142 */
143143static void
You can’t perform that action at this time.
0 commit comments