| 306 | } |
| 307 | |
| 308 | static void |
| 309 | pg_output_begin(LogicalDecodingContext *ctx, TestDecodingData *data, ReorderBufferTXN *txn, bool last_write) |
| 310 | { |
| 311 | OutputPluginPrepareWrite(ctx, last_write); |
| 312 | if (data->include_xids) |
| 313 | appendStringInfo(ctx->out, "BEGIN %u", txn->xid); |
| 314 | else |
| 315 | appendStringInfoString(ctx->out, "BEGIN"); |
| 316 | OutputPluginWrite(ctx, last_write); |
| 317 | } |
| 318 | |
| 319 | /* COMMIT callback */ |
| 320 | static void |
no test coverage detected