pgsql: Make DatumGetInetP() unpack inet datums with a 1-byte header, an - Mailing list pgsql-committers

From Heikki Linnakangas
Subject pgsql: Make DatumGetInetP() unpack inet datums with a 1-byte header, an
Date
Msg-id E1RNse1-0006Dk-Q8@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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
------
REL9_1_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/b1c701c90922d828a9fa4335dd36ab2588bad3a6

Modified Files
--------------
src/backend/utils/adt/network.c |    2 +-
src/include/utils/inet.h        |    4 +++-
2 files changed, 4 insertions(+), 2 deletions(-)


pgsql-committers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: pgsql: Make DatumGetInetP() unpack inet datums with a 1-byte header, an
Next
From: Heikki Linnakangas
Date:
Subject: pgsql: Make DatumGetInetP() unpack inet datums with a 1-byte header, an