> > o Two new functions, trunc(macaddr) and text(macaddr), where the former
> > returns the mac address with the low (non-manufacturer) fields zeroed
> > out, and the latter converts to a text string. The text conversion is
> > nice because capabilities such as LIKE can be used transparently :) Will
> > need to add macaddr(text) for symmetry.
> A cast shouldn't alter the value of the, er, value. This is like
> text(55) returning 'fifty-five'. What if I want to use substr() on the
> macaddr?

?? Just go ahead and use it! :)

There isn't anything new here, other than having the feature available
for macaddr as it is for other data types.

                      - Thomas

Mon, 21 Aug 2000 04:24:25 +0000
Thomas Lockhart <lockhart@alumni.caltech.edu>
Re: mac.c