[sr-dev] 'address' table and composite UNIQUE key for 'ip_addr' and 'mask' columns

Juha Heinanen jh at tutpro.com
Thu Apr 15 12:41:36 CEST 2010


Iñaki Baz Castillo writes:

 > Imagine two entries with same "ip_addr" and "mask" but differnt "grp".
 > This would be valid as you suggest, but it doesn't make sense as the
 > permissions module would get just the first entry and extract the
 > "grp" from it. This is, the composite key columns must be those used
 > by the search condition ("ip_addr", "mask" and "port").

which function of permissions module?

-- juha



More information about the sr-dev mailing list