Skip site navigation (1) Skip section navigation (2)

Re: Postgres Wishlist

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 (view raw or flat)
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 


In response to

pgsql-novice by date

Next:From: Michael WoodDate: 2010-11-13 20:11:41
Subject: Re: Postgres Wishlist
Previous:From: Mladen GogalaDate: 2010-11-13 18:07:58
Subject: Re: Postgres Wishlist

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group