mirror of
https://github.com/postgres/postgres.git
synced 2025-08-12 15:23:02 +03:00
config
contrib
doc
src
backend
bin
common
include
interfaces
makefiles
pl
port
template
test
timezone
tools
tutorial
.gitignore
DEVELOPERS
Makefile
Makefile.global.in
Makefile.shlib
bcc32.mak
nls-global.mk
win32.mak
.dir-locals.el
.gitattributes
.gitignore
COPYRIGHT
GNUmakefile.in
HISTORY
Makefile
README
README.git
aclocal.m4
configure
configure.in
Fix JSONB_MAX_ELEMS and JSONB_MAX_PAIRS macros to use CB_MASK in the calculation. JENTRY_POSMASK happens to have the same value at the moment, but that's just coincidental. Refactor jsonb iterator functions, for readability. Get rid of the JENTRY_ISFIRST flag. Whenever we handle JEntrys, we have access to the whole array and have enough context information to know which entry is the first. This frees up one bit in the JEntry header for future use. While we're at it, shuffle the JEntry bits so that boolean true and false go together, for aesthetic reasons. Bump catalog version as this changes the on-disk format slightly.