diff options
Diffstat (limited to 'src/backend/tcop/dest.c')
-rw-r--r-- | src/backend/tcop/dest.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/backend/tcop/dest.c b/src/backend/tcop/dest.c index 7208751ec78..96789f88ef9 100644 --- a/src/backend/tcop/dest.c +++ b/src/backend/tcop/dest.c @@ -212,6 +212,18 @@ EndCommand(const QueryCompletion *qc, CommandDest dest, bool force_undecorated_o } /* ---------------- + * EndReplicationCommand - stripped down version of EndCommand + * + * For use by replication commands. + * ---------------- + */ +void +EndReplicationCommand(const char *commandTag) +{ + pq_putmessage('C', commandTag, strlen(commandTag) + 1); +} + +/* ---------------- * NullCommand - tell dest that an empty query string was recognized * * In FE/BE protocol version 1.0, this hack is necessary to support |