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

Function chunk_is_postgres_chunk

src/backend/postmaster/syslogger.c:138–143  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

136}
137
138static bool chunk_is_postgres_chunk(PipeProtoHeader *hdr)
139{
140 return hdr->zero == 0 && hdr->pid != 0 && hdr->thid != 0 &&
141 (hdr->log_format == 't' || hdr->log_format == 'c') &&
142 (hdr->is_last == 't' || hdr->is_last == 'f');
143}
144
145/*
146 * Flags set by interrupt handlers for later service in the main loop.

Callers 1

process_pipe_inputFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected