]> granicus.if.org Git - postgresql/commit
Better fix for misuse of Float8GetDatumFast().
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 28 Mar 2015 17:56:37 +0000 (13:56 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 28 Mar 2015 17:56:37 +0000 (13:56 -0400)
commit2c33e0fbceb01d0ecd78330feef1315682c64bc4
treed6a15151cc9bc1b8dcb9f3527387e1ca77658038
parent7655f4ccea570d57c4d473cd66b755c03c904942
Better fix for misuse of Float8GetDatumFast().

We can use that macro as long as we put the value into a local variable.
Commit 735cd6128 was not wrong on its own terms, but I think this way
looks nicer, and it should save a few cycles on 32-bit machines.
contrib/pg_stat_statements/pg_stat_statements.c