Re: Some remaining htonl() and ntohl() calls in the code

2020-10-15 Thread Michael Paquier
On Wed, Oct 14, 2020 at 01:41:23PM -0700, Andres Freund wrote: > +1 Thanks. I have applied that as of 86dba33, and did not see a need for a back-patch. -- Michael signature.asc Description: PGP signature

Re: Some remaining htonl() and ntohl() calls in the code

2020-10-14 Thread Andres Freund
Hi, On 2020-10-14 14:53:03 +0900, Michael Paquier wrote: > Since 510b8cbf, we have in-core equivalents for htonl(), ntohl() & co > through pg_bswap.h that allows to compile with a built-in function if > the compiler used has one. > > All the existing calls in the code tree have been changed with

Some remaining htonl() and ntohl() calls in the code

2020-10-13 Thread Michael Paquier
Hi all, Since 510b8cbf, we have in-core equivalents for htonl(), ntohl() & co through pg_bswap.h that allows to compile with a built-in function if the compiler used has one. All the existing calls in the code tree have been changed with 0ba99c84 for performance reasons (except the libpq examples