Re: Fix calloc check if oom (PQcancelCreate)

From: Ranier Vilela <ranier(dot)vf(at)gmail(dot)com>
To: Daniel Gustafsson <daniel(at)yesql(dot)se>
Cc: Jelte Fennema-Nio <postgres(at)jeltef(dot)nl>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Fix calloc check if oom (PQcancelCreate)
Date: 2024-05-27 17:51:04
Message-ID: CAEudQAo49ZbmLrpXab2=F70cobb_6bRd1Hj1Ee4j3pOO=ecqpA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Em seg., 27 de mai. de 2024 às 14:42, Daniel Gustafsson <daniel(at)yesql(dot)se>
escreveu:

> > On 27 May 2024, at 18:47, Jelte Fennema-Nio <postgres(at)jeltef(dot)nl> wrote:
>
> > So overall I agree pqReleaseConnHost and release_conn_addrinfo can be
> > improved for easier safe usage in the future, but I don't think those
> > improvements should be grouped into the same commit with an actual
> > bugfix.
>
> I have pushed the fix for the calloc check for now.
>
Thanks Daniel.

best regards,
Ranier Vilela

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2024-05-27 18:20:52 Re: Comments on Custom RMGRs
Previous Message Daniel Gustafsson 2024-05-27 17:42:47 Re: Fix calloc check if oom (PQcancelCreate)