Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit51f41e8

Browse files
committed
Fix typos in comments.
1 parent2e1b5d3 commit51f41e8

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-
* earlybecuase the clog might be "in the future" from the POV of the
896+
* earlybecause 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-
/* +1becuase 21st century started in 2001 */
3590+
/* +1because 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)

[8]ページ先頭

©2009-2025 Movatter.jp