From: Josh Berkus <josh@agliodbs.com>
To: pgsql-sql@postgresql.org
Cc: tv@fuzzy.cz
Subject: Re: converting varchar to integer
Date: Tue, 16 Aug 2005 17:05:49 -0700
Message-ID: <200508161705.50261.josh@agliodbs.com> (raw)
In-Reply-To: <1124235288.43027818cb6e3@email.gigaweb.cz>
References: <1124235288.43027818cb6e3@email.gigaweb.cz>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: josh@agliodbs.com, tv@fuzzy.cz
Subject: Re: converting varchar to integer
In-Reply-To: <200508161705.50261.josh@agliodbs.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox