Ticket #991 (closed enhancement: fixed)

Opened 12 months ago

Last modified 5 months ago

Set remaining bits in type byte to zero

Reported by: pramsey Owned by: strk
Priority: high Milestone: PostGIS 2.0.0
Component: postgis Version: trunk
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

Changed 5 months ago by strk

  • owner changed from pramsey to strk
  • priority changed from medium to high
  • status changed from new to assigned

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

Changed 5 months ago by strk

  • status changed from assigned to closed
  • resolution set to fixed

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.

Changed 5 months ago by strk

The previous comment is based on analysis of r8740

Note: See TracTickets for help on using tickets.