Re: pgsql: Add general purpose hasing functions to pgbench.
В списке pgsql-committers по дате отправления:
| От | Ildar Musin |
|---|---|
| Тема | Re: pgsql: Add general purpose hasing functions to pgbench. |
| Дата | |
| Msg-id | 96ddca3b-3f30-4fd8-1ad2-205dcd93154e@postgrespro.ru обсуждение |
| Ответ на | Re: pgsql: Add general purpose hasing functions to pgbench. (Fabien COELHO <coelho@cri.ensmp.fr>) |
| Список | pgsql-committers |
Hello all, 22/03/2018 19:31, Fabien COELHO пишет: >>> >>> Looks to me like the constants need to be written with INT64CONST(). >>> Also, the fact that the added regression test is passing makes me >>> wonder whether it's actually exercising these functions meaningfully. > > I think that there is at least some coverage > (https://coverage.postgresql.org/src/bin/pgbench/pgbench.c.gcov.html) > and the function results are also checked for some values in the perl > script output. > As Fabien said output values for some particular inputs are checked in tests. The fact that test passed apparently shows that compiler is smart enough to recognize those constants as 'long long' and use them accordingly in expressions. -- Ildar Musin Postgres Professional: http://www.postgrespro.com Russian Postgres Company
В списке pgsql-committers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера