Re: converting varchar to integer - Mailing list pgsql-sql

From Josh Berkus
Subject Re: converting varchar to integer
Date
Msg-id 200508161705.50261.josh@agliodbs.com
Whole thread Raw
In response to converting varchar to integer  (tv@fuzzy.cz)
List pgsql-sql
Tomas,

>    I've written two on my own (see the functions below),
>    but maybe there's something faster?

Nope.  'cept I'd combine those two functions into a single function that 
returns NULL if the value isn't an integer.

-- 
--Josh

Josh Berkus
Aglio Database Solutions
San Francisco


pgsql-sql by date:

Previous
From: tv@fuzzy.cz
Date:
Subject: converting varchar to integer
Next
From: Kretschmer Andreas
Date:
Subject: Re: [despammed] converting varchar to integer