Re: Bug in DefineRange() with multiranges - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: Bug in DefineRange() with multiranges
Date
Msg-id 2d3a3eb1-5a88-da6b-556f-0d7700af52e1@enterprisedb.com
Whole thread Raw
In response to Bug in DefineRange() with multiranges  (Sergey Shinderuk <s.shinderuk@postgrespro.ru>)
Responses Re: Bug in DefineRange() with multiranges  (Sergey Shinderuk <s.shinderuk@postgrespro.ru>)
List pgsql-hackers
On 04.10.21 19:09, Sergey Shinderuk wrote:
> I wonder what is the proper fix.  Just drop pfree() altogether or add
> pstrdup() instead?  I see that makeMultirangeTypeName() doesn't bother
> freeing its buf.

I think removing the pfree()s is a correct fix.




pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: Rewriting the test of pg_upgrade as a TAP test - take three - remastered set
Next
From: Tom Lane
Date:
Subject: Re: pgsql: Adjust configure to insist on Perl version >= 5.8.3.