What does send_time represents? #1555
Unanswered
keshav-Gupta-IS
asked this question in
Q&A
Replies: 1 comment 2 replies
-
Hi can anyone please help here. I am asking this question because I am seeing the difference of about 5 -10 minutes between send_time and the record commit time. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am referring to this documentation https://www.psycopg.org/docs/extras.html
I am confused about this block of documentation specifically
class psycopg2.extras.ReplicationMessage
A replication protocol message.
payload
The actual data received from the server.
An instance of either bytes() or unicode(), depending on the value of decode option passed to start_replication() on the connection. See read_message() for details.
send_time
A datetime object representing the server timestamp at the moment when the message was sent.
What do we mean by the server here is it application server or DB server ?
What does this timestamp represents is it the time the record was present in wal_logs or the time we were able to read it?
Any help would be appreciated!!
Beta Was this translation helpful? Give feedback.
All reactions