aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/pgstatfuncs.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2016-09-09 18:17:07 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2016-09-09 18:17:07 -0400
commit1a4be103a523db8d47b464463ba175cc664442b2 (patch)
tree51b2d399b5d8531f049001d8d0a6bf4366a1b7dc /src/backend/utils/adt/pgstatfuncs.c
parentb1328d78f88cdf4f7504004159e530b776f0de16 (diff)
downloadpostgresql-1a4be103a523db8d47b464463ba175cc664442b2.tar.gz
postgresql-1a4be103a523db8d47b464463ba175cc664442b2.zip
Convert PageAddItem into a macro to save a few cycles.
Nowadays this is just a backwards-compatibility wrapper around PageAddItemExtended, so let's avoid the extra level of function call. In addition, because pretty much all callers are passing constants for the two bool arguments, compilers will be able to constant-fold the conversion to a flags bitmask. Discussion: <552.1473445163@sss.pgh.pa.us>
Diffstat (limited to 'src/backend/utils/adt/pgstatfuncs.c')
0 files changed, 0 insertions, 0 deletions