I want to modify queries and instead of UPDATE test SET field=0 spawn few packets as UPDATE test SET field=0 WHERE 0 < id AND id <= 10000, UPDATE test SET field=0 WHERE 10000 < id AND id <= 20000 and etc. It's perfectly working when I use 1 to 1 packet transformation, but not for 1 to many.
Now as I understand sql-proxy-rs is not have any synchronization between read and write. But in postgres for example packet that comes before ReadyForQuery response will not be proceeded.
I wonder if you can you hint what is best way to solve this issue?
I want to modify queries and instead of
UPDATE test SET field=0spawn few packets asUPDATE test SET field=0 WHERE 0 < id AND id <= 10000,UPDATE test SET field=0 WHERE 10000 < id AND id <= 20000and etc. It's perfectly working when I use 1 to 1 packet transformation, but not for 1 to many.Now as I understand
sql-proxy-rsis not have any synchronization between read and write. But in postgres for example packet that comes beforeReadyForQueryresponse will not be proceeded.I wonder if you can you hint what is best way to solve this issue?