• Noah Misch's avatar
    Recommend wrappers of PG_DETOAST_DATUM_PACKED(). · 9d7726c2
    Noah Misch authored
    When commit 3e23b68d 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.
    9d7726c2
inet.h 4.16 KB