Skip to content
Snippets Groups Projects
Select Git revision
  • benchmark-tools
  • postgres-lambda
  • master default
  • REL9_4_25
  • REL9_5_20
  • REL9_6_16
  • REL_10_11
  • REL_11_6
  • REL_12_1
  • REL_12_0
  • REL_12_RC1
  • REL_12_BETA4
  • REL9_4_24
  • REL9_5_19
  • REL9_6_15
  • REL_10_10
  • REL_11_5
  • REL_12_BETA3
  • REL9_4_23
  • REL9_5_18
  • REL9_6_14
  • REL_10_9
  • REL_11_4
23 results

mmgr

  • Clone with SSH
  • Clone with HTTPS
  • user avatar
    Tom Lane authored
    Add commentary about what we're doing and why.  Apply the method used for
    padding in GenerationChunk to AllocChunkData, replacing the rather ad-hoc
    solution used in commit 7e3aa03b.  Reorder fields in GenerationChunk so
    that the padding calculation will work even if sizeof(size_t) is different
    from sizeof(void *) --- likely that will never happen, but we don't need
    the assumption if we do it like this.  Improve static assertions about
    alignment.
    
    In passing, fix a couple of oversights in the "large chunk" path in
    GenerationAlloc().
    
    Discussion: https://postgr.es/m/E1eHa4J-0006hI-Q8@gemulon.postgresql.org
    f65d21b2
    History
    Name Last commit Last update
    ..