Re: ...lame use of casting, looking for workaround... - Mailing list pgsql-general

From Doug McNaught
Subject Re: ...lame use of casting, looking for workaround...
Date
Msg-id m38zmw0y8e.fsf@belphigor.mcnaught.org
Whole thread Raw
In response to ...lame use of casting, looking for workaround...  (Adam Haberlach <adam@newsnipple.com>)
List pgsql-general
Richard Huxton <dev@archonet.com> writes:

> >         I'm looking for a workaround that will let him do his
> > "conversion" transparently: some form of atoi that will return
> > 0 if it finds no numbers instead of blowing up.  Anyone got
> > one?

The proper solution, of course, is to slap him silly and then make him
rewrite his code.  ;)

-Doug

pgsql-general by date:

Previous
From: Doug McNaught
Date:
Subject: Re: vacuum and backup
Next
From: Adam Haberlach
Date:
Subject: Re: ...lame use of casting, looking for workaround...