Unverified Commit 0769a783 authored by Dimitri Fontaine's avatar Dimitri Fontaine
Browse files

Use PREPARE/EXECUTE statements for applying DML in follow mode.

When replaying INSERT/UPDATE/DELETE statements, switch to using PREPARE and
EXECUTE at the protocol level (using the libpq functions PQprepare and
PQexecPrepared). When a statement has already been prepared previously in
our session, we then only send the EXECUTE statement.

This shoud provide nice performance improvements.
parent 2ebb9f9c
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment