Re: [HACKERS] Allow format 0000-0000-0000 in postgresql MAC parser

2014-10-21 Thread Peter Eisentraut
On 10/17/14 6:37 PM, Ali Akbar wrote: > On a side note, i'm noticing from > http://en.wikipedia.org/wiki/MAC_address, that there is three numbering > namespace for MAC: MAC-48, EUI-48 and EUI-64. The last one is 64 bits > long (8 bytes). Currently PostgreSQL's macaddr is only 6 bytes long. > Should

Re: [HACKERS] Allow format 0000-0000-0000 in postgresql MAC parser

2014-10-21 Thread Peter Eisentraut
On 10/1/14 8:34 AM, Herwin Weststrate wrote: > It has been registered now > (https://commitfest.postgresql.org/action/patch_view?id=1585). I've got > an updated version of the patch with the documentation fix. committed -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To ma

Re: [HACKERS] Allow format 0000-0000-0000 in postgresql MAC parser

2014-10-17 Thread Ali Akbar
> It has been registered now > (https://commitfest.postgresql.org/action/patch_view?id=1585). I've got > an updated version of the patch with the documentation fix. > Looks like the patch is all good. I'm marking as ready for commiter. On a side note, i'm noticing from http://en.wikipedia.org/wik

Re: [HACKERS] Allow format 0000-0000-0000 in postgresql MAC parser

2014-10-01 Thread Herwin Weststrate
On 01-10-14 01:19, Michael Paquier wrote: > Looking at your patch, you should update the documentation as well, > the list of authorized outputs being clearly listed: > http://www.postgresql.org/docs/devel/static/datatype-net-types.html#DATATYPE-MACADDR > This consists in adding simply one line to

Re: [HACKERS] Allow format 0000-0000-0000 in postgresql MAC parser

2014-09-30 Thread Michael Paquier
On Mon, Sep 29, 2014 at 6:30 PM, Herwin Weststrate wrote: > Some devices send the MAC address in RADIUS requests in the format > --. 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

[HACKERS] Allow format 0000-0000-0000 in postgresql MAC parser

2014-09-30 Thread Herwin Weststrate
Hello, Some devices send the MAC address in RADIUS requests in the format --. 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 we