]> 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:13 +0000 (22:45 +0200)
commit61f4750bf8f7135af03bbdbe2642094169dbcb10
treef690d0bfe5ee369bb28eb073310e0bed3d7517d3
parent23998fe99c1220ba3a9eefee194e37ec1f14ae07
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