]> 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:45:28 +0000 (22:45 +0200)
commita062ee4257c132b9119151b587b26b3a53558c76
tree707ecaaacf9d959805ddf2dc70faac56475d18c8
parent0ff319d20af757946f57719959172612d0ec75cc
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