Fix PG_GETARG_SEG_P() definition.
Tom Lane <tgl@sss.pgh.pa.us>
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
Files
| Path | Change | +/− |
|---|---|---|
| contrib/seg/seg.c | modified | +1 −1 |
Discussion
- [PATCH] contrib/seg: Fix PG_GETARG_SEG_P definition 4 messages · 2019-11-02 → 2019-11-04