Re: Sort support for macaddr8 - Mailing list pgsql-hackers

From Chapman Flack
Subject Re: Sort support for macaddr8
Date
Msg-id 33232070-d6b3-4255-5db9-8c6183fcda20@anastigmatix.net
Whole thread Raw
In response to Re: Sort support for macaddr8  (Chapman Flack <chap@anastigmatix.net>)
List pgsql-hackers
On 6/3/19 5:59 PM, Chapman Flack wrote:
> On 6/3/19 5:03 PM, Chapman Flack wrote:
> 1. (This one seems like a bug.) In the little-endian case, if
>    SIZEOF_DATUM is smaller than the type, I'm not convinced by doing
>    the DatumBigEndianToNative() after the memcpy(). Seems like that's
>    too late to make sure the most-significant bytes got copied.

Wait, I definitely was cross-eyed for that one. It's the abbreviated
copy whose endianness varies. Never mind.

Regards,
-Chap



pgsql-hackers by date:

Previous
From: Chapman Flack
Date:
Subject: Re: Sort support for macaddr8
Next
From: Peter Geoghegan
Date:
Subject: Re: Sort support for macaddr8