]> granicus.if.org Git - postgresql/commit
Make DatumGetInetP() unpack inet datums with a 1-byte header, and add
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Tue, 8 Nov 2011 20:39:43 +0000 (22:39 +0200)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Tue, 8 Nov 2011 20:46:29 +0000 (22:46 +0200)
commitb1c701c90922d828a9fa4335dd36ab2588bad3a6
tree622e5c4b87e88b592d675531613180b3137ce5d1
parent97c3d4853b3b095e3dadf80156a89b231f51e784
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.
src/backend/utils/adt/network.c
src/include/utils/inet.h