Fix PG_GETARG_SEG_P() definition.
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 3 Nov 2019 15:57:49 +0000 (10:57 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 3 Nov 2019 15:57:49 +0000 (10:57 -0500)
commit741b1aaf61a3da10250555f827c0a7a2f9bc2822
tree54ee8a18a225d8508c8f94ab66c443a1885efab2
parent8af1624e3f0efd2d029217a91d07bd3795f080a6
Fix PG_GETARG_SEG_P() definition.

DatumGetPointer() takes a Datum argument, not a pointer.
This is cosmetic given the current definitions of the
underlying macros, but it's still formally a type violation.

Bug was introduced in commit 389bb2818, but there seems
no need to back-patch.

Dagfinn Ilmari MannsÃ¥ker

Discussion: https://postgr.es/m/d8jlfsxq3a0.fsf@dalvik.ping.uio.no
contrib/seg/seg.c