summaryrefslogtreecommitdiff
path: root/src/backend/tsearch/wparser.c
diff options
context:
space:
mode:
authorNoah Misch <noah@leadboat.com>2017-03-12 19:35:33 -0400
committerNoah Misch <noah@leadboat.com>2017-03-12 19:35:33 -0400
commit9d7726c2ba06b932f791f2d0cc5acf73cc0b4dca (patch)
treea67dc4573e6e89d07be29c41679ce821009df9a3 /src/backend/tsearch/wparser.c
parent944a026b4ec252667f275768ba4dcd53ae3bb07e (diff)
downloadpostgresql-9d7726c2ba06b932f791f2d0cc5acf73cc0b4dca.tar.gz
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/tsearch/wparser.c')
0 files changed, 0 insertions, 0 deletions