Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5033dbd

Browse files
committed
Doc: fix incorrect bit-reversal in example of macaddr formatting.
Will Mortensen (minor additional copy-editing by me) Discussion: https://postgr.es/m/CAMpnoC5Y6jiZHSA82FG+e_AqkwMg-i94EYqs1C_9kXXFc3_3Yw@mail.gmail.com
1 parent 37fd181 commit 5033dbd

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

doc/src/sgml/datatype.sgml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3753,13 +3753,13 @@ SELECT person.name, holidays.num_weeks FROM person, holidays
37533753
</para>
37543754

37553755
<para>
3756-
IEEE Std 802-2001 specifies the second shown form (with hyphens)
3756+
IEEE Standard 802-2001 specifies the second form shown (with hyphens)
37573757
as the canonical form for MAC addresses, and specifies the first
3758-
form (with colons) as the bit-reversed notation, so that
3759-
08-00-2b-01-02-03 = 01:00:4D:08:04:0C. This convention is widely
3758+
form (with colons) as used with bit-reversed, MSB-first notation, so that
3759+
08-00-2b-01-02-03 = 10:00:D4:80:40:C0. This convention is widely
37603760
ignored nowadays, and it is relevant only for obsolete network
37613761
protocols (such as Token Ring). PostgreSQL makes no provisions
3762-
for bit reversal, and all accepted formats use the canonical LSB
3762+
for bit reversal; all accepted formats use the canonical LSB
37633763
order.
37643764
</para>
37653765

0 commit comments

Comments
 (0)