Re: Elimination of the repetitive code at the SLRU bootstrap functions. - Mailing list pgsql-hackers

From Aleksander Alekseev
Subject Re: Elimination of the repetitive code at the SLRU bootstrap functions.
Date
Msg-id CAJ7c6TN6AkfbakbQk7mHwX5VBx=+v3vS_OiZMoWWE9tSvRiwoQ@mail.gmail.com
Whole thread Raw
In response to Re: Elimination of the repetitive code at the SLRU bootstrap functions.  (Álvaro Herrera <alvherre@alvh.no-ip.org>)
List pgsql-hackers
Hi Alvaro,

> > Since BootStrapSlruPage() is the only caller of ZeroPage() it seems to
> > me that it merely wastes space in SlruCtlData. On top of that I'm not
> > 100% sure if all the supported platforms have C99 compilers with
> > designated initializers support.
>
> They do -- we use them quite extensively nowadays.

Got it, thanks. I was a bit worried about Visual Studio in particular.

-- 
Best regards,
Aleksander Alekseev



pgsql-hackers by date:

Previous
From: Álvaro Herrera
Date:
Subject: Re: Elimination of the repetitive code at the SLRU bootstrap functions.
Next
From: Nitin Jadhav
Date:
Subject: Re: Address the bug in 041_checkpoint_at_promote.pl