mirror of
https://github.com/neondatabase/neon.git
synced 2026-05-18 05:30:37 +00:00
partial fix: safekeeper sync safekeepers uses integers for communicating
this means that somewhere in C there's an expectation of using LSN as u64 in json.
This commit is contained in:
@@ -71,11 +71,7 @@ impl<'de> Deserialize<'de> for Id {
|
||||
}
|
||||
}
|
||||
|
||||
if deserializer.is_human_readable() {
|
||||
deserializer.deserialize_str(IdVisitor)
|
||||
} else {
|
||||
deserializer.deserialize_tuple(16, IdVisitor)
|
||||
}
|
||||
deserializer.deserialize_any(IdVisitor)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user