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

Function callCompressionConstructor

src/backend/catalog/pg_compression.c:181–192  ·  view source on GitHub ↗

Invokes a compression constructor */

Source from the content-addressed store, hash-verified

179
180/* Invokes a compression constructor */
181CompressionState *
182callCompressionConstructor(PGFunction constructor,
183 TupleDesc tupledesc,
184 StorageAttributes *sa,
185 bool is_compress)
186{
187 return (CompressionState *) DatumGetPointer(DirectFunctionCall3(constructor,
188 PointerGetDatum(tupledesc),
189 PointerGetDatum(sa),
190 BoolGetDatum(is_compress)));
191
192}
193
194void
195callCompressionDestructor(PGFunction destructor, CompressionState *state)

Callers 5

create_datumstreamwriteFunction · 0.85
create_datumstreamreadFunction · 0.85
SetNextFileSegForReadFunction · 0.85
appendonly_fetch_initFunction · 0.85
appendonly_insert_initFunction · 0.85

Calls 1

BoolGetDatumFunction · 0.85

Tested by

no test coverage detected