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

From Daniel Gustafsson
Subject Re: Fix calloc check if oom (PQcancelCreate)
Date
Msg-id 17EA5D87-8EAD-4215-A45E-0D9B8E3F637C@yesql.se
Whole thread Raw
In response to Re: Fix calloc check if oom (PQcancelCreate)  (Jelte Fennema-Nio <postgres@jeltef.nl>)
Responses Re: Fix calloc check if oom (PQcancelCreate)
List pgsql-hackers
> 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.

--
Daniel Gustafsson




pgsql-hackers by date:

Previous
From: Ranier Vilela
Date:
Subject: Re: Fix calloc check if oom (PQcancelCreate)
Next
From: Ranier Vilela
Date:
Subject: Re: Fix calloc check if oom (PQcancelCreate)