Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#991 closed enhancement (fixed)

Set remaining bits in type byte to zero

Reported by: pramsey Owned by: strk
Priority: high Milestone: PostGIS 2.0.0
Component: postgis Version: master
Keywords: Cc:

Description

To enable clean us of extra bits in GSERIALIZED type byte, set them to zero by default and ensure that is the case. They can be used for something else (versioning? anondata flag?) in the future that way.

Change History (3)

comment:1 by strk, 13 years ago

Owner: changed from pramsey to strk
Priority: mediumhigh
Status: newassigned

I'm taking a look at what does this involve. Seems important to me.

comment:2 by strk, 13 years ago

Resolution: fixed
Status: assignedclosed

It seems to me we're fine here. All code writing type is copying an uint32_t value verbatim after checking it to match existing type macros. Any unknown value would trigger an error. Known values are up to 15.

comment:3 by strk, 13 years ago

The previous comment is based on analysis of r8740

Note: See TracTickets for help on using tickets.