pgsql: Better fix for misuse of Float8GetDatumFast().
pgsql: Better fix for misuse of Float8GetDatumFast().
От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
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. Branch ------ master Details ------- http://git.postgresql.org/pg/commitdiff/2c33e0fbceb01d0ecd78330feef1315682c64bc4 Modified Files -------------- contrib/pg_stat_statements/pg_stat_statements.c | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-)