re : Casting macaddr types to text

From: <pejac(at)altern(dot)org>
To: pgsql-general(at)postgresql(dot)org
Subject: re : Casting macaddr types to text
Date: 2001-01-29 16:41:03
Message-ID: 200101291655.f0TGtSq08071@mail.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,

Try this function ( with psql ) and redo your query.
This function allow cast beetween macaddr and text

CREATE FUNCTION text(macaddr) returns text AS '
BEGIN
return $1;
END;
' LANGUAGE 'plpgsql';

Cheers,

PEJAC Pascal

Browse pgsql-general by date

  From Date Subject
Next Message John Frank 2001-01-29 16:54:59 Re: perl use of cursors and fetch forward
Previous Message robert gravsjo 2001-01-29 16:15:57 Re: GUI Interfaces