Skip to content

Commit 51f41e8

Browse files
committed
Fix typos in comments.
1 parent 2e1b5d3 commit 51f41e8

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/backend/storage/ipc/standby.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -893,10 +893,10 @@ LogStandbySnapshot(void)
893893
* For Hot Standby this can be done before inserting the WAL record
894894
* because ProcArrayApplyRecoveryInfo() rechecks the commit status using
895895
* the clog. For logical decoding, though, the lock can't be released
896-
* early becuase the clog might be "in the future" from the POV of the
896+
* early because the clog might be "in the future" from the POV of the
897897
* historic snapshot. This would allow for situations where we're waiting
898898
* for the end of a transaction listed in the xl_running_xacts record
899-
* which, according to the WAL, have commit before the xl_running_xacts
899+
* which, according to the WAL, has committed before the xl_running_xacts
900900
* record. Fortunately this routine isn't executed frequently, and it's
901901
* only a shared lock.
902902
*/

src/backend/utils/adt/formatting.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3587,7 +3587,7 @@ do_to_timestamp(text *date_txt, text *fmt,
35873587
if (tmfc.bc)
35883588
tmfc.cc = -tmfc.cc;
35893589
if (tmfc.cc >= 0)
3590-
/* +1 becuase 21st century started in 2001 */
3590+
/* +1 because 21st century started in 2001 */
35913591
tm->tm_year = (tmfc.cc - 1) * 100 + 1;
35923592
else
35933593
/* +1 because year == 599 is 600 BC */

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy