Re: Avoid use deprecated Windows Memory API - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: Avoid use deprecated Windows Memory API
Date
Msg-id 20220915131347.fjijnfmafcua7m3d@alvherre.pgsql
Whole thread Raw
In response to Re: Avoid use deprecated Windows Memory API  (Ranier Vilela <ranier.vf@gmail.com>)
Responses Re: Avoid use deprecated Windows Memory API
Re: Avoid use deprecated Windows Memory API
List pgsql-hackers
On 2022-Sep-15, Ranier Vilela wrote:

> Em qui., 15 de set. de 2022 às 09:50, Alvaro Herrera <
> alvherre@alvh.no-ip.org> escreveu:

> > These functions you are patching are not in performance-sensitive code,
> > so I doubt this makes any difference performance wise.  I doubt
> > Microsoft will ever remove these deprecated functions, given its history
> > of backwards compatibility, so from that perspective this change does
> > not achieve anything either.
>
> If users don't adapt to the new API, the old one will never really expire.

If you are claiming that Microsoft will remove the old API because
Postgres stopped using it, ... sorry, no.

> Neither the patch nor the thread deals with palloc.

I know.  Which is why I think the patch is useless.

-- 
Álvaro Herrera         PostgreSQL Developer  —  https://www.EnterpriseDB.com/



pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: Avoid use deprecated Windows Memory API
Next
From: Aleksander Alekseev
Date:
Subject: Re: Avoid use deprecated Windows Memory API