Re: pg_reset_stats + cache I/O %

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"mcelroy, tim" <tim.mcelroy@xxxxxxxxxxxxxxx> writes:
> ERROR:  function round(double precision, integer) does not exist

Try coercing to numeric instead of float.  Also, it'd be a good idea to
put that coercion outside the sum()'s instead of inside --- summing
bigints is probably noticeably faster than summing numerics.

			regards, tom lane


[Postgresql General]     [Postgresql PHP]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Yosemite]

  Powered by Linux