pgsql: Make DatumGetInetP() unpack inet datums with a 1-byte header, an
pgsql: Make DatumGetInetP() unpack inet datums with a 1-byte header, an
От:
Heikki Linnakangas <heikki.linnakangas@iki.fi>
Дата:
Make DatumGetInetP() unpack inet datums with a 1-byte header, and add a new macro, DatumGetInetPP(), that does not. This brings these macros in line with other DatumGet*P() macros. Backpatch to 8.3, where 1-byte header varlenas were introduced. Branch ------ REL8_3_STABLE Details ------- http://git.postgresql.org/pg/commitdiff/3944238aabf29bf96f3fc2d332f6e80746553246 Modified Files -------------- src/backend/utils/adt/network.c | 2 +- src/include/utils/inet.h | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-)