Re: Avoid handle leak (src/bin/pg_ctl/pg_ctl.c)
Álvaro Herrera <alvherre@kurilemu.de>
From: Álvaro Herrera <alvherre@kurilemu.de>
To: Ranier Vilela <ranier.vf@gmail.com>
Cc: Michael Paquier <michael@paquier.xyz>, Pg Hackers <pgsql-hackers@postgresql.org>
Date: 2025-10-24T12:24:20Z
Lists: 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)