Re: Fix calloc check if oom (PQcancelCreate)

From: Daniel Gustafsson <daniel(at)yesql(dot)se>
To: Jelte Fennema-Nio <postgres(at)jeltef(dot)nl>
Cc: Ranier Vilela <ranier(dot)vf(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Fix calloc check if oom (PQcancelCreate)
Date: 2024-05-27 17:42:47
Message-ID: 17EA5D87-8EAD-4215-A45E-0D9B8E3F637C@yesql.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> 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.

--
Daniel Gustafsson

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Ranier Vilela 2024-05-27 17:51:04 Re: Fix calloc check if oom (PQcancelCreate)
Previous Message Ranier Vilela 2024-05-27 17:28:35 Re: Fix calloc check if oom (PQcancelCreate)