Re: converting mac-adress type to string - Mailing list pgsql-novice

From Rodrigo De León
Subject Re: converting mac-adress type to string
Date
Msg-id a55915760709200945v6067a1b7g2895ffe2a77f1a72@mail.gmail.com
Whole thread Raw
In response to converting mac-adress type to string  (Michael Cochez <michaelcochez@yahoo.com>)
List pgsql-novice
On 9/20/07, Michael Cochez <michaelcochez@yahoo.com> wrote:
> 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?

SELECT mac_address::text FROM table;

pgsql-novice by date:

Previous
From: Michael Cochez
Date:
Subject: converting mac-adress type to string
Next
From: Michael Cochez
Date:
Subject: selecting other schema's as the public one from php