Re: pgsql: Add Bloom filter implementation.
| От | Peter Eisentraut |
|---|---|
| Тема | Re: pgsql: Add Bloom filter implementation. |
| Дата | |
| Msg-id | d1cc82ed-d07d-cef2-7c00-2e987f121648@2ndquadrant.com обсуждение исходный текст |
| Ответ на | pgsql: Add Bloom filter implementation. (Andres Freund <andres@anarazel.de>) |
| Ответы |
Re: pgsql: Add Bloom filter implementation.
|
| Список | pgsql-committers |
On 3/31/18 21:36, Andres Freund wrote:
> Add Bloom filter implementation.
There is a compiler warning in the tests, with gcc-7:
test_bloomfilter.c: In function 'test_bloomfilter':
test_bloomfilter.c:40:38: error: '__builtin_snprintf' output may be
truncated before the last format character [-Werror=format-truncation=]
snprintf(element, sizeof(element), "i" INT64_FORMAT, i);
^
This can be fixed by allocating one more byte for the possible sign, or
doing the whole thing in unsigned.
--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
В списке pgsql-committers по дате отправления: