aklaver@comcast.net (Adrian Klaver) writes:
> select ('134987'::int/1000.00) * interval ' 1 second' ;
> ?column?
> --------------
> 00:02:14.987
> (1 row)
Or even easier:
regression=# select 134987 * interval '1 msec'; ?column?
--------------00:02:14.987
(1 row)
regards, tom lane