Re: Avoid handle leak (src/bin/pg_ctl/pg_ctl.c) - Mailing list pgsql-hackers

From Ranier Vilela
Subject Re: Avoid handle leak (src/bin/pg_ctl/pg_ctl.c)
Date
Msg-id CAEudQAo9ivsAnYYZ5uO_KNTV5+To=uWqEUzWx5tQTXGKV5ZE9g@mail.gmail.com
Whole thread Raw
In response to Re: Avoid handle leak (src/bin/pg_ctl/pg_ctl.c)  (Álvaro Herrera <alvherre@kurilemu.de>)
Responses Re: Avoid handle leak (src/bin/pg_ctl/pg_ctl.c)
Re: Avoid handle leak (src/bin/pg_ctl/pg_ctl.c)
List pgsql-hackers


Em sex., 24 de out. de 2025 às 09:24, Álvaro Herrera <alvherre@kurilemu.de> escreveu:
On 2025-Oct-24, Ranier Vilela wrote:

> Handles are a scarce Windows resource.
> The work of freeing these resources is not done by exit(), but by
> Windows itself, when possible.
> If applications are not good citizens, these resources will eventually
> run out.

Hmm?  That makes no sense.  Do you have references to documentation that
says the system works the way you claim?
There are a bunch of messages on the web.
Some are:
"insufficient system resources exist to complete the requested service"




best regards,
Ranier Vilela

pgsql-hackers by date:

Previous
From: Bertrand Drouvot
Date:
Subject: Re: Report bytes and transactions actually sent downtream
Next
From: Yura Sokolov
Date:
Subject: Re: use SIMD in GetPrivateRefCountEntry()