Re: Integer to float function - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: Integer to float function
Date
Msg-id Pine.LNX.4.30.0104061638480.1603-100000@peter.localdomain
Whole thread Raw
In response to Integer to float function  (Steven Vajdic <svajdic@asc.corp.mot.com>)
List pgsql-hackers
Steven Vajdic writes:

> int4() has done a job.
>
> Why is that NOT documented under "Matematical functions"?

Because you're supposed to use CAST(value AS integer).

-- 
Peter Eisentraut      peter_e@gmx.net       http://yi.org/peter-e/



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Foreign Key & Rule confusion WAS: Lost Trigger(s)?
Next
From: Tom Lane
Date:
Subject: Re: INSERT Issues