[postgis-tickets] r16508 - Avoid incompatible automatic variable length array
Sandro Santilli
strk at kbt.io
Wed Mar 28 08:25:15 PDT 2018
On Wed, Mar 28, 2018 at 03:10:50PM +0000, Darafei "Komяpa" Praliaskouski wrote:
> >
> >
> > + POINT3DM* points = palloc(size*sizeof(POINT3DM));
>
>
> isn't it supposed to be lwalloc?
Under liblwgeom should be lwalloc, under postgis/ not necessarely
(only if code is meant to be eventually moved to liblwgeom).
In any case lwalloc would be == palloc under postgis/ - the only
reason to use lwalloc is to be able to use a different implementation,
in particular for running outside of PostgreSQL (cunit, for example).
--strk;
More information about the postgis-tickets
mailing list