-
- Downloads
Move strategy numbers to include/access/stratnum.h
For upcoming BRIN opclasses, it's convenient to have strategy numbers defined in a single place. Since there's nothing appropriate, create it. The StrategyNumber typedef now lives there, as well as existing strategy numbers for B-trees (from skey.h) and R-tree-and-friends (from gist.h). skey.h is forced to include stratnum.h because of the StrategyNumber typedef, but gist.h is not; extensions that currently rely on gist.h for rtree strategy numbers might need to add a new A few .c files can stop including skey.h and/or gist.h, which is a nice side benefit. Per discussion: https://www.postgresql.org/message-id/20150514232132.GZ2523@alvh.no-ip.org Authored by Emre Hasegeli and Álvaro. (It's not clear to me why bootscanner.l has any #include lines at all.)
Showing
- contrib/btree_gin/btree_gin.c 1 addition, 1 deletioncontrib/btree_gin/btree_gin.c
- contrib/cube/cube.c 1 addition, 1 deletioncontrib/cube/cube.c
- contrib/hstore/hstore_gin.c 1 addition, 1 deletioncontrib/hstore/hstore_gin.c
- contrib/hstore/hstore_gist.c 1 addition, 1 deletioncontrib/hstore/hstore_gist.c
- contrib/intarray/_int_gin.c 1 addition, 2 deletionscontrib/intarray/_int_gin.c
- contrib/intarray/_int_gist.c 1 addition, 1 deletioncontrib/intarray/_int_gist.c
- contrib/intarray/_intbig_gist.c 1 addition, 1 deletioncontrib/intarray/_intbig_gist.c
- contrib/ltree/_ltree_gist.c 1 addition, 1 deletioncontrib/ltree/_ltree_gist.c
- contrib/ltree/ltree_gist.c 1 addition, 1 deletioncontrib/ltree/ltree_gist.c
- contrib/pg_trgm/trgm_gin.c 2 additions, 1 deletioncontrib/pg_trgm/trgm_gin.c
- contrib/pg_trgm/trgm_gist.c 2 additions, 1 deletioncontrib/pg_trgm/trgm_gist.c
- contrib/seg/seg.c 2 additions, 1 deletioncontrib/seg/seg.c
- src/backend/access/brin/brin_minmax.c 1 addition, 1 deletionsrc/backend/access/brin/brin_minmax.c
- src/backend/access/gin/ginarrayproc.c 1 addition, 1 deletionsrc/backend/access/gin/ginarrayproc.c
- src/backend/access/gist/gistproc.c 1 addition, 1 deletionsrc/backend/access/gist/gistproc.c
- src/backend/access/spgist/spgkdtreeproc.c 1 addition, 1 deletionsrc/backend/access/spgist/spgkdtreeproc.c
- src/backend/access/spgist/spgquadtreeproc.c 1 addition, 1 deletionsrc/backend/access/spgist/spgquadtreeproc.c
- src/backend/bootstrap/bootparse.y 0 additions, 1 deletionsrc/backend/bootstrap/bootparse.y
- src/backend/bootstrap/bootscanner.l 0 additions, 1 deletionsrc/backend/bootstrap/bootscanner.l
- src/backend/optimizer/path/equivclass.c 1 addition, 1 deletionsrc/backend/optimizer/path/equivclass.c
Loading
Please register or sign in to comment