postgresql/src/backend/utils
Tom Lane 6277435a8a Silence some Coverity warnings and improve code consistency.
Coverity complained about possible overflow in expressions like
	intresult = tm->tm_sec * 1000000 + fsec;
on the grounds that the multiplication would happen in 32-bit
arithmetic before widening to the int64 result.  I think these
are all false positives because of the limited possible range of
tm_sec; but nonetheless it seems silly to spell it like that when
nearby lines have the identical computation written with a 64-bit
constant.

... or more accurately, with an LL constant, which is not project
style.  Make all of these use INT64CONST(), as we do elsewhere.

This is all new code from a2da77cdb, so no need for back-patch.
2021-04-11 17:02:04 -04:00
..
activity Add functions to wait for backend termination 2021-04-08 11:40:54 +02:00
adt Silence some Coverity warnings and improve code consistency. 2021-04-11 17:02:04 -04:00
cache Clean up treatment of missing default and CHECK-constraint records. 2021-04-06 10:34:39 -04:00
error Add csvlog output for the new query_id value 2021-04-07 22:30:30 -04:00
fmgr Fix broken ruleutils support for function TRANSFORM clauses. 2021-01-25 13:03:43 -05:00
hash Update copyright for 2021 2021-01-02 13:06:25 -05:00
init Add function to log the memory contexts of specified backend process. 2021-04-06 13:44:15 +09:00
mb Add 'noError' argument to encoding conversion functions. 2021-04-01 11:45:22 +03:00
misc Doc: update documentation of check_function_bodies. 2021-04-10 12:08:28 -04:00
mmgr Add function to log the memory contexts of specified backend process. 2021-04-06 13:44:15 +09:00
resowner Refactor HMAC implementations 2021-04-03 17:30:49 +09:00
sort Use sort_template.h for qsort_tuple() and qsort_ssup(). 2021-03-03 17:02:32 +13:00
time Sanitize the term "combo CID" in code comments 2021-03-25 16:08:03 +09:00
.gitignore Rearrange makefile rules for running Gen_fmgrtab.pl. 2018-05-03 17:54:18 -04:00
errcodes.txt Rethink SQLSTATE code for ERRCODE_IDLE_SESSION_TIMEOUT. 2021-01-11 14:53:42 -05:00
Gen_dummy_probes.pl Update copyright for 2021 2021-01-02 13:06:25 -05:00
Gen_dummy_probes.sed Update copyright for 2021 2021-01-02 13:06:25 -05:00
Gen_fmgrtab.pl Update copyright for 2021 2021-01-02 13:06:25 -05:00
generate-errcodes.pl Update copyright for 2021 2021-01-02 13:06:25 -05:00
Makefile Split wait event related code from pgstat.[ch] into wait_event.[ch]. 2021-04-02 20:02:26 -07:00
probes.d Update copyright for 2021 2021-01-02 13:06:25 -05:00