Skip to content

Is it possible to transform one packet from client to many to server? #26

Description

@tbicr

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions