diff options
author | Noah Misch <noah@leadboat.com> | 2017-03-12 19:35:33 -0400 |
---|---|---|
committer | Noah Misch <noah@leadboat.com> | 2017-03-12 19:35:33 -0400 |
commit | 9d7726c2ba06b932f791f2d0cc5acf73cc0b4dca (patch) | |
tree | a67dc4573e6e89d07be29c41679ce821009df9a3 /src/backend/utils/adt/encode.c | |
parent | 944a026b4ec252667f275768ba4dcd53ae3bb07e (diff) | |
download | postgresql-9d7726c2ba06b932f791f2d0cc5acf73cc0b4dca.tar.gz postgresql-9d7726c2ba06b932f791f2d0cc5acf73cc0b4dca.zip |
Recommend wrappers of PG_DETOAST_DATUM_PACKED().
When commit 3e23b68dac006e8deb0afa327e855258df8de064 introduced
single-byte varlena headers, its fmgr.h changes presented
PG_GETARG_TEXT_PP() and PG_GETARG_TEXT_P() as equals. Its postgres.h
changes presented PG_DETOAST_DATUM_PACKED() and VARDATA_ANY() as the
exceptional case. Now, instead, firmly recommend PG_GETARG_TEXT_PP()
over PG_GETARG_TEXT_P(); likewise for other ...PP() macros. This shaves
cycles and invites consistency of style.
Diffstat (limited to 'src/backend/utils/adt/encode.c')
0 files changed, 0 insertions, 0 deletions