pgsql: Fix PG_GETARG_SEG_P() definition. - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Fix PG_GETARG_SEG_P() definition.
Date
Msg-id [email protected]
Whole thread Raw
List pgsql-committers
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/[email protected]

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/741b1aaf61a3da10250555f827c0a7a2f9bc2822

Modified Files
--------------
contrib/seg/seg.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Validate ispell dictionaries more carefully.
Next
From: Tom Lane
Date:
Subject: pgsql: Suppress warning from older compilers.