converting mac-adress type to string

From: Michael Cochez <michaelcochez(at)yahoo(dot)com>
To: pgsql-novice(at)postgresql(dot)org
Subject: converting mac-adress type to string
Date: 2007-09-20 15:35:13
Message-ID: 676690.20722.qm@web33502.mail.mud.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Hello,
I want to create a view where the mac address of a table is seen as a string i was thinking about something like this :
SELECT some_function_to_convert(mac_address) FROM table;
is this possible, and what function do i need to use?
why is it so difficult to change a view, things like changing column names/quantity
seem to be impossible??

Michael Cochez


---------------------------------
Fussy? Opinionated? Impossible to please? Perfect. Join Yahoo!'s user panel and lay it on us.

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Rodrigo De León 2007-09-20 16:45:32 Re: converting mac-adress type to string
Previous Message Tom Lane 2007-09-20 13:59:59 Re: Null records in pg_operator