]> granicus.if.org Git - postgresql/commit
Minor clean-up in dshash.{c,h}.
authorAndres Freund <andres@anarazel.de>
Fri, 2 Mar 2018 00:25:46 +0000 (16:25 -0800)
committerAndres Freund <andres@anarazel.de>
Fri, 2 Mar 2018 00:25:46 +0000 (16:25 -0800)
commit17b340abf83d1b5f67808c45c63b9e0439569cef
tree3234e6884cdfd2bc03ea603d7053c52715ba4537
parent07c6e5163e1f4ae12a3a6478788dd969f8f38cc9
Minor clean-up in dshash.{c,h}.

For consistency with other code that deals in numbers of buckets, the
macro BUCKETS_PER_PARTITION should produce a value of type size_t.
Also, fix a mention of an obsolete proposed name for dshash.c that
appeared in a comment.

Author: Thomas Munro, based on an observation from Amit Kapila
Discussion: https://postgr.es/m/CAA4eK1%2BBOp5aaW3aHEkg5Bptf8Ga_BkBnmA-%3DXcAXShs0yCiYQ%40mail.gmail.com
src/backend/lib/dshash.c
src/include/lib/dshash.h