125 if (ctx->
ctx->properties_size == 0) {
126 ctx->
ctx->properties_size = 1024 * 4;
127 POSTGIS_DEBUGF(2,
"flatgeobuf: properties buffer to size %d", ctx->
ctx->properties_size);
128 ctx->
ctx->properties = palloc(ctx->
ctx->properties_size);
130 if (ctx->
ctx->properties_size < size) {
131 ctx->
ctx->properties_size = ctx->
ctx->properties_size * 2;
132 POSTGIS_DEBUGF(2,
"flatgeobuf: reallocating properties buffer to size %d", ctx->
ctx->properties_size);
133 ctx->
ctx->properties = repalloc(ctx->
ctx->properties, ctx->
ctx->properties_size);
static void ensure_properties_size(struct flatgeobuf_agg_ctx *ctx, size_t size)