mirror of
https://github.com/postgres/postgres.git
synced 2025-10-31 10:30:33 +03:00
Prevent to use magic constants
Use macroses for definition amstrategies/amsupport fields instead of hardcoded values. Author: Nikolay Shaplov with addition for contrib/bloom
This commit is contained in:
@@ -239,6 +239,7 @@ typedef HashMetaPageData *HashMetaPage;
|
||||
* Since we only have one such proc in amproc, it's number 1.
|
||||
*/
|
||||
#define HASHPROC 1
|
||||
#define HASHNProcs 1
|
||||
|
||||
|
||||
/* public routines */
|
||||
|
||||
Reference in New Issue
Block a user