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