diff options
author | David Rowley <drowley@postgresql.org> | 2024-04-07 23:32:00 +1200 |
---|---|---|
committer | David Rowley <drowley@postgresql.org> | 2024-04-07 23:32:00 +1200 |
commit | 0ba8b75e7ea6b7b3090c81239ebcb866772a624b (patch) | |
tree | 3015678f6979d3f4fff6dedf80fb0ff938ee273c /src/tutorial/syscat.source | |
parent | c4ab7da60617f020e8d75b1584d0754005d71830 (diff) | |
download | postgresql-0ba8b75e7ea6b7b3090c81239ebcb866772a624b.tar.gz postgresql-0ba8b75e7ea6b7b3090c81239ebcb866772a624b.zip |
Enlarge bit-space for MemoryContextMethodID
Reserve 4 bits for MemoryContextMethodID rather than 3. 3 bits did
technically allow a maximum of 8 memory context types, however, we've
opted to reserve some bit patterns which left us with only 4 slots, all
of which were used.
Here we add another bit which frees up 8 slots for future memory context
types.
In passing, adjust the enum names in MemoryContextMethodID to make it
more clear which ones can be used and which ones are reserved.
Author: Matthias van de Meent, David Rowley
Discussion: https://postgr.es/m/CAApHDvqGSpCU95TmM=Bp=6xjL_nLys4zdZOpfNyWBk97Xrdj2w@mail.gmail.com
Diffstat (limited to 'src/tutorial/syscat.source')
0 files changed, 0 insertions, 0 deletions