postgresql/src
Tom Lane af0f20092c Fix pg_size_pretty() to avoid overflow for inputs close to INT64_MAX.
The expression that tried to round the value to the nearest TB could
overflow, leading to bogus output as reported in bug #5993 from Nicola
Cossu.  This isn't likely to ever happen in the intended usage of the
function (if it could, we'd be needing to use a wider datatype instead);
but it's not hard to give the expected output, so let's do so.
2011-04-25 16:22:12 -04:00
..
backend Fix pg_size_pretty() to avoid overflow for inputs close to INT64_MAX. 2011-04-25 16:22:12 -04:00
bin Assorted minor changes to silence Windows compiler warnings. 2011-04-25 12:56:53 -04:00
include Assorted minor changes to silence Windows compiler warnings. 2011-04-25 12:56:53 -04:00
interfaces In libecpg do not set an sqlda field that is 'reserved for future use' unless 2011-04-25 13:43:22 +02:00
makefiles Support "make check" in contrib 2011-04-25 22:27:11 +03:00
pl Assorted minor changes to silence Windows compiler warnings. 2011-04-25 12:56:53 -04:00
port Assorted minor changes to silence Windows compiler warnings. 2011-04-25 12:56:53 -04:00
template Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
test Support "make check" in contrib 2011-04-25 22:27:11 +03:00
timezone Assorted minor changes to silence Windows compiler warnings. 2011-04-25 12:56:53 -04:00
tools Adjust yywrap macro for non-reentrant scanners for MSVC. 2011-04-25 09:10:59 -04:00
tutorial Stamp copyrights for year 2011. 2011-01-01 13:18:15 -05:00
.gitignore Convert cvsignore to gitignore, and add .gitignore for build targets. 2010-09-22 12:57:04 +02:00
bcc32.mak Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
DEVELOPERS Replace a couple of references to files that no longer exist in the source 2009-05-04 08:08:47 +00:00
Makefile Fix some oversights in distprep and maintainer-clean targets. 2011-03-10 00:04:05 -05:00
Makefile.global.in Rename pg_regress option --multibyte to --encoding 2011-04-15 08:42:05 +03:00
Makefile.shlib Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
nls-global.mk Fix makefile logic to not break the build when xgettext is missing 2010-10-14 23:16:46 +03:00
win32.mak Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00