pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fix PG_GETARG_SEG_P() definition.
Date: Sun, 03 Nov 2019 15:57:55 +0000
Message-ID: <E1iRIGJ-0004VB-Dc@gemulon.postgresql.org> (raw)

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

Branch
------
master

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

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



Message-ID: <E1iRIGJ-0004VB-Dc@gemulon.postgresql.org>
Permalink:  ../E1iRIGJ-0004VB-Dc@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1iRIGJ-0004VB-Dc@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: tgl@sss.pgh.pa.us
  Subject: Re: pgsql: Fix PG_GETARG_SEG_P() definition.
  In-Reply-To: <E1iRIGJ-0004VB-Dc@gemulon.postgresql.org>
  References: <E1iRIGJ-0004VB-Dc@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox