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

Commit83d122f

Browse files
committed
add a comment in generate_system_id()
1 parentc696004 commit83d122f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

‎testgres/utils.py‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ def generate_system_id():
8282
secs=int((date2-date1).total_seconds())
8383
usecs=date2.microsecond
8484

85+
# see pg_resetwal.c : GuessControlValues()
8586
system_id=0
8687
system_id|= (secs<<32)
8788
system_id|= (usecs<<12)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp