pgsql: Better fix for misuse of Float8GetDatumFast().

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Better fix for misuse of Float8GetDatumFast().
Дата
Msg-id E1YbuyR-000428-RZ@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
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(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: pgsql: Add a pager_min_lines setting to psql
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Minor code cleanups in pgbench expression support.