Allow format 0000-0000-0000 in postgresql MAC parser - Mailing list pgsql-hackers

From Herwin Weststrate
Subject Allow format 0000-0000-0000 in postgresql MAC parser
Date
Msg-id 542926BB.4010402@quarantainenet.nl
Whole thread Raw
Responses Re: Allow format 0000-0000-0000 in postgresql MAC parser
List pgsql-hackers
Hello,

Some devices send the MAC address in RADIUS requests in the format
0000-0000-0000. I've seen this with a 3com switch, but there may be
others. Currently, postgresql doesn't understand this format.

This patch adds an extra line to the macaddr parsing in postgres to
support this format as well. A unit test has been added.

Kind regards,

--
Herwin Weststrate
Quarantainenet BV
www.quarantainenet.nl

Attachment

pgsql-hackers by date:

Previous
From: searcher s
Date:
Subject: Full_page_write is off in backup mode
Next
From: Bogdan Pilch
Date:
Subject: Re: Time measurement format - more human readable