[postgis-devel] Validity flag

Sandro Santilli strk at keybit.net
Sat Mar 5 01:55:21 PST 2016


On Fri, Mar 04, 2016 at 10:19:22AM -0800, Paul Ramsey wrote:
> I think the right answer is to have an "extended info" flag on the
> main flags slot, which, if present indicates a spare 8 bytes will be
> inserted into the header before the bounding box. This could hold less
> commonly used flags, like the validity values (which we would have
> room to represent as yes, no, and unknown), solidity values, and so
> on. It will require a bit of work on the serializer/deserializer, but
> not a lot.
> 
> If you're OK w/ the idea, I will implement a branch of it.

Could you argument a bit about why you think having 8 bytes at the
beginning is to be preferred over having 1 byte at the end ?

--strk;



More information about the postgis-devel mailing list