Re: Fix calloc check if oom (PQcancelCreate) - Mailing list pgsql-hackers

From Ranier Vilela
Subject Re: Fix calloc check if oom (PQcancelCreate)
Date
Msg-id CAEudQAo49ZbmLrpXab2=F70cobb_6bRd1Hj1Ee4j3pOO=ecqpA@mail.gmail.com
Whole thread Raw
In response to Re: Fix calloc check if oom (PQcancelCreate)  (Daniel Gustafsson <daniel@yesql.se>)
List pgsql-hackers
Em seg., 27 de mai. de 2024 às 14:42, Daniel Gustafsson <daniel@yesql.se> escreveu:
> On 27 May 2024, at 18:47, Jelte Fennema-Nio <postgres@jeltef.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

pgsql-hackers by date:

Previous
From: Daniel Gustafsson
Date:
Subject: Re: Fix calloc check if oom (PQcancelCreate)
Next
From: Michael Paquier
Date:
Subject: Re: Comments on Custom RMGRs