Re: Fix a possible socket leak at Windows (src/backend/port/win32/socket.c)

Ranier Vilela <ranier.vf@gmail.com>

From: Ranier Vilela <ranier.vf@gmail.com>
To: Daniel Gustafsson <daniel@yesql.se>
Cc: Michael Paquier <michael@paquier.xyz>, PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Date: 2024-01-17T15:28:28Z
Lists: pgsql-hackers
Em qua., 17 de jan. de 2024 09:54, Daniel Gustafsson <daniel@yesql.se>
escreveu:

> > On 17 Jan 2024, at 07:26, Michael Paquier <michael@paquier.xyz> wrote:
> > On Tue, Jan 16, 2024 at 05:25:39PM -0300, Ranier Vilela wrote:
>
> >> Do you have plans or should I register for a commitfest?
> >
> > Daniel has stated that he would take care of it, so why not letting
> > him a few days?  I don't think that a CF entry is necessary.
>
> It isn't, I've now committed it backpatched down to 12.
>
Thanks for the commit, Daniel.

Best regards,
Ranier Vilela

Commits

  1. Close socket in case of errors in setting non-blocking