Re: Fix calloc check if oom (PQcancelCreate)
Ranier Vilela <ranier.vf@gmail.com>
From: Ranier Vilela <ranier.vf@gmail.com>
To: Daniel Gustafsson <daniel@yesql.se>
Cc: Jelte Fennema-Nio <postgres@jeltef.nl>,
PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Date: 2024-05-27T17:51:04Z
Lists: 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
Commits
-
Fix check for memory allocation
- 4013a5ada252 17.0 landed
-
libpq: Add encrypted and non-blocking query cancellation routines
- 61461a300c1c 17.0 cited