[PATCH] fix doc example of bit-reversed MAC address

Started by Will Mortensenalmost 4 years ago2 messageshackers
Jump to latest
#1Will Mortensen
will@extrahop.com

Pretty trivial since this is documenting something that Postgres
*doesn't* do, but it incorrectly reversed only the bits of each
nibble, not the whole byte. See e.g.
https://www.ibm.com/docs/en/csfdcd/7.1?topic=ls-bit-ordering-in-mac-addresses
for a handy table.

Attachments:

macaddr-bitrev-example.patchapplication/x-patch; name=macaddr-bitrev-example.patchDownload+1-1
#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Will Mortensen (#1)
Re: [PATCH] fix doc example of bit-reversed MAC address

Will Mortensen <will@extrahop.com> writes:

Pretty trivial since this is documenting something that Postgres
*doesn't* do, but it incorrectly reversed only the bits of each
nibble, not the whole byte.

Duh, right. Will fix, thanks for noticing!

regards, tom lane