Re: Convert macros to static inline functions
Peter Eisentraut <peter.eisentraut@enterprisedb.com>
From: Peter Eisentraut <peter.eisentraut@enterprisedb.com>
To: Amul Sul <sulamul@gmail.com>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2022-10-07T14:20:32Z
Lists: pgsql-hackers
On 04.10.22 08:57, Amul Sul wrote: > On Tue, Oct 4, 2022 at 12:00 PM Peter Eisentraut > <peter.eisentraut@enterprisedb.com> wrote: >> >> On 16.05.22 10:27, Peter Eisentraut wrote: >>> Inspired by [0], I looked to convert more macros to inline functions. >> >> Here is another one from the same batch of work that I somehow didn't >> send in last time. >> > I think assertion can be placed outside of the IF-block and braces can > be removed. Committed that way, thanks.
Commits
-
Add some const decorations (htup.h)
- b15b8c5cf882 18.0 landed
-
Convert macros to static inline functions (htup_details.h, itup.h)
- 34694ec888d6 18.0 landed
-
Convert macros to static inline functions (rel.h)
- 3edc71ec0438 16.0 landed
-
Convert macros to static inline functions (itup.h)
- 14a8bd98274a 16.0 landed
-
Convert macros to static inline functions (tupmacs.h)
- f58d7073b775 16.0 landed
-
Convert macros to static inline functions (xlog_internal.h)
- 507ba16b28c7 16.0 landed
-
Convert macros to static inline functions (bufmgr.h)
- 9c727360bcc7 16.0 landed
-
Convert macros to static inline functions (itemptr.h)
- aeb767ca0b02 16.0 landed
-
Convert macros to static inline functions (bufpage.h)
- 2cd2569c72b8 16.0 landed
-
Convert macros to static inline functions (block.h)
- d63d957e330c 16.0 landed