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

From Álvaro Herrera
Subject Re: Avoid handle leak (src/bin/pg_ctl/pg_ctl.c)
Date
Msg-id 202510241223.abgjh6f7f7tx@alvherre.pgsql
Whole thread Raw
In response to Re: Avoid handle leak (src/bin/pg_ctl/pg_ctl.c)  (Ranier Vilela <ranier.vf@gmail.com>)
Responses Re: Avoid handle leak (src/bin/pg_ctl/pg_ctl.c)
List pgsql-hackers
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?

-- 
Álvaro Herrera               48°01'N 7°57'E  —  https://www.EnterpriseDB.com/
"Pensar que el espectro que vemos es ilusorio no lo despoja de espanto,
sólo le suma el nuevo terror de la locura" (Perelandra, C.S. Lewis)



pgsql-hackers by date:

Previous
From: Srinath Reddy Sadipiralla
Date:
Subject: Re: Making pg_rewind faster
Next
From: Joe Conway
Date:
Subject: Re: contrib/sepgsql regression tests have been broken for months