Re: Fixup some appendStringInfo and appendPQExpBuffer calls - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: Fixup some appendStringInfo and appendPQExpBuffer calls
Date
Msg-id a8ed7319-bbee-9c77-d3fc-e2e352ba6146@enterprisedb.com
Whole thread Raw
In response to Re: Fixup some appendStringInfo and appendPQExpBuffer calls  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On 03.06.21 06:17, Tom Lane wrote:
> David Rowley <dgrowleyml@gmail.com> writes:
>> There are quite a few other places in that file that should be using
>> DatumGetCString() instead of DatumGetPointer().
>> Should we fix those too for PG14?
> 
> +1.  I'm surprised we are not getting compiler warnings.

Well, DatumGetPointer() returns Pointer, and Pointer is char *.



pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: improve installation short version
Next
From: Amit Langote
Date:
Subject: Re: parent foreign tables and row marks