postgresql/src/backend/utils
Heikki Linnakangas d9daff0e0c More jsonb cleanup.
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.
2014-05-09 15:55:56 +03:00
..
adt More jsonb cleanup. 2014-05-09 15:55:56 +03:00
cache pgindent run for 9.4 2014-05-06 12:12:18 -04:00
error pgindent run for 9.4 2014-05-06 12:12:18 -04:00
fmgr pgindent run for 9.4 2014-05-06 12:12:18 -04:00
hash pgindent run for 9.4 2014-05-06 12:12:18 -04:00
init pgindent run for 9.4 2014-05-06 12:12:18 -04:00
mb pgindent run for 9.4 2014-05-06 12:12:18 -04:00
misc Increase the default value of effective_cache_size to 4GB. 2014-05-08 21:11:47 -04:00
mmgr pgindent run for 9.4 2014-05-06 12:12:18 -04:00
resowner pgindent run for 9.4 2014-05-06 12:12:18 -04:00
sort pgindent run for 9.4 2014-05-06 12:12:18 -04:00
time pgindent run for 9.4 2014-05-06 12:12:18 -04:00
.gitignore Avoid maintaining three separate copies of the error codes list. 2011-02-03 22:32:49 -05:00
errcodes.txt Update copyright for 2014 2014-01-07 16:05:30 -05:00
Gen_dummy_probes.sed Update copyright for 2014 2014-01-07 16:05:30 -05:00
Gen_fmgrtab.pl Update copyright for 2014 2014-01-07 16:05:30 -05:00
generate-errcodes.pl Update copyright for 2014 2014-01-07 16:05:30 -05:00
Makefile Make handling of errcodes.h more consistent with other generated headers. 2011-02-04 09:29:10 -05:00
probes.d Fix build with LWLOCK_STATS or dtrace. 2014-03-21 23:26:34 +01:00