replicator icon indicating copy to clipboard operation
replicator copied to clipboard

TIMESTAMP values from changefeed don't compare correctly

Open bobvawter opened this issue 11 months ago • 1 comments

When we receive a TIMESTAMP value, it's sent without a timezone marker: 2024-12-14T04:58:34.583023. If this same time were retrieved from the database, we get a time.Time with the UTC timezone. The crep package treats these as being different values, which leads to incorrect merge conflict detection.

bobvawter avatar Mar 06 '24 17:03 bobvawter

Can you give some examples of this? What does the json output look like for timestamptz vs timestamp?

BramGruneir avatar Mar 20 '24 16:03 BramGruneir