postgresql/src/include/utils
Tom Lane f7c6246240 Introduce convenience macros to hide JsonbContainer header accesses better.
This improves readability a bit and may make future improvements easier.

In passing, make sure that the JB_ROOT_IS_XXX macros deliver boolean (0/1)
results; the previous coding was a bug hazard, though no actual bugs are
known.

Nikita Glukhov, extended a bit by me

Discussion: https://postgr.es/m/9e21a39c-c1d7-b9b5-44a0-c5345a5029f6@postgrespro.ru
2017-01-25 13:28:38 -05:00
..
.gitignore Generate fmgr prototypes automatically 2017-01-17 14:06:07 -05:00
acl.h Logical replication 2017-01-20 09:04:49 -05:00
aclchk_internal.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
array.h Generate fmgr prototypes automatically 2017-01-17 14:06:07 -05:00
arrayaccess.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
ascii.h Generate fmgr prototypes automatically 2017-01-17 14:06:07 -05:00
attoptcache.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
backend_random.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
builtins.h Move some things from builtins.h to new header files 2017-01-20 20:29:53 -05:00
bytea.h Generate fmgr prototypes automatically 2017-01-17 14:06:07 -05:00
cash.h Generate fmgr prototypes automatically 2017-01-17 14:06:07 -05:00
catcache.h Fix field order in struct catcache. 2017-01-12 18:59:57 -05:00
combocid.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
date.h Generate fmgr prototypes automatically 2017-01-17 14:06:07 -05:00
datetime.h Generate fmgr prototypes automatically 2017-01-17 14:06:07 -05:00
datum.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
dsa.h Fix possible crash reading pg_stat_activity. 2017-01-05 12:27:09 -05:00
dynahash.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
dynamic_loader.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
elog.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
evtcache.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
expandeddatum.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
fmgrtab.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
formatting.h Generate fmgr prototypes automatically 2017-01-17 14:06:07 -05:00
freepage.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
geo_decls.h Generate fmgr prototypes automatically 2017-01-17 14:06:07 -05:00
guc.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
guc_tables.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
help_config.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
hsearch.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
index_selfuncs.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
inet.h Generate fmgr prototypes automatically 2017-01-17 14:06:07 -05:00
int8.h Generate fmgr prototypes automatically 2017-01-17 14:06:07 -05:00
inval.h Logical replication 2017-01-20 09:04:49 -05:00
json.h Generate fmgr prototypes automatically 2017-01-17 14:06:07 -05:00
jsonapi.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
jsonb.h Introduce convenience macros to hide JsonbContainer header accesses better. 2017-01-25 13:28:38 -05:00
logtape.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
lsyscache.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
memdebug.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
memutils.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
nabstime.h Generate fmgr prototypes automatically 2017-01-17 14:06:07 -05:00
numeric.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
palloc.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
pg_crc.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
pg_locale.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
pg_lsn.h Generate fmgr prototypes automatically 2017-01-17 14:06:07 -05:00
pg_rusage.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
plancache.h Change representation of statement lists, and add statement location info. 2017-01-14 16:02:35 -05:00
portal.h Change representation of statement lists, and add statement location info. 2017-01-14 16:02:35 -05:00
ps_status.h Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
rangetypes.h Generate fmgr prototypes automatically 2017-01-17 14:06:07 -05:00
regproc.h Move some things from builtins.h to new header files 2017-01-20 20:29:53 -05:00
rel.h Reindent table partitioning code. 2017-01-24 10:20:02 -05:00
relcache.h Logical replication 2017-01-20 09:04:49 -05:00
relfilenodemap.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
relmapper.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
relptr.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
reltrigger.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
resowner.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
resowner_private.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
rls.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
ruleutils.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
sampling.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
selfuncs.h Generate fmgr prototypes automatically 2017-01-17 14:06:07 -05:00
snapmgr.h Generate fmgr prototypes automatically 2017-01-17 14:06:07 -05:00
snapshot.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
sortsupport.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
spccache.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
syscache.h Logical replication 2017-01-20 09:04:49 -05:00
timeout.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
timestamp.h Generate fmgr prototypes automatically 2017-01-17 14:06:07 -05:00
tqual.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
tuplesort.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
tuplestore.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
typcache.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
tzparser.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
uuid.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
varbit.h Generate fmgr prototypes automatically 2017-01-17 14:06:07 -05:00
varlena.h Move some things from builtins.h to new header files 2017-01-20 20:29:53 -05:00
xml.h Generate fmgr prototypes automatically 2017-01-17 14:06:07 -05:00