1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-30 21:42:05 +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:
Teodor Sigaev
2016-04-28 16:39:25 +03:00
parent e2c79e14d9
commit f8467f7da8
8 changed files with 11 additions and 9 deletions

View File

@ -454,6 +454,7 @@ typedef struct xl_btree_newroot
#define BTORDER_PROC 1
#define BTSORTSUPPORT_PROC 2
#define BTNProcs 2
/*
* We need to be able to tell the difference between read and write