MCPcopy Create free account
hub / github.com/apache/cloudberry / pg_output_stream_start

Function pg_output_stream_start

contrib/test_decoding/test_decoding.c:771–780  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

769}
770
771static void
772pg_output_stream_start(LogicalDecodingContext *ctx, TestDecodingData *data, ReorderBufferTXN *txn, bool last_write)
773{
774 OutputPluginPrepareWrite(ctx, last_write);
775 if (data->include_xids)
776 appendStringInfo(ctx->out, "opening a streamed block for transaction TXN %u", txn->xid);
777 else
778 appendStringInfoString(ctx->out, "opening a streamed block for transaction");
779 OutputPluginWrite(ctx, last_write);
780}
781
782static void
783pg_decode_stream_stop(LogicalDecodingContext *ctx,

Callers 3

pg_decode_stream_startFunction · 0.85
pg_decode_stream_changeFunction · 0.85

Calls 4

OutputPluginPrepareWriteFunction · 0.85
appendStringInfoFunction · 0.85
appendStringInfoStringFunction · 0.85
OutputPluginWriteFunction · 0.85

Tested by

no test coverage detected