From: | Mladen Gogala <mladen(dot)gogala(at)vmsinfo(dot)com> |
---|---|
To: | Mladen Gogala <mladen(dot)gogala(at)vmsinfo(dot)com> |
Cc: | Michael Glaesemann <grzm(at)seespotcode(dot)net>, Donald Kerr <donald(dot)kerr(at)dkerr(dot)co(dot)uk>, 'Steve Crawford' <scrawford(at)pinpointresearch(dot)com>, 'Tom Lane' <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "pgsql-novice(at)postgresql(dot)org" <pgsql-novice(at)postgresql(dot)org> |
Subject: | Re: Postgres Wishlist |
Date: | 2010-11-13 19:03:27 |
Message-ID: | 4CDEE0FF.1080900@vmsinfo.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-novice |
Mladen Gogala wrote:
> It works like a charm:
> CREATE OR REPLACE FUNCTION hex2dec(text)
> RETURNS int
> AS $$
> my $arg=shift;
> return(hex($arg));
> $$ LANGUAGE plperl;
>
>
I've mistakenly posted the same thing twice. This is what I meant:
scott=# select hex2dec('FF');
hex2dec
---------
255
(1 row)
--
Mladen Gogala
Sr. Oracle DBA
1500 Broadway
New York, NY 10036
(212) 329-5251
www.vmsinfo.com
From | Date | Subject | |
---|---|---|---|
Next Message | Michael Wood | 2010-11-13 20:11:41 | Re: Postgres Wishlist |
Previous Message | Mladen Gogala | 2010-11-13 18:07:58 | Re: Postgres Wishlist |