postgresql/contrib/intarray
Daniel Gustafsson bb466c6b09 Prohibit map and grep in void context
map and grep are not intended to be used as mutators, iterating
with side-effects should be done with for or foreach loops. This
fixes the one occurrence of the pattern, and bumps the perlcritic
policy to severity 5 for the map and grep policies.

Author: Dagfinn Ilmari Mannsåker <ilmari@ilmari.org>
Reviewed-by: Michael Paquier <michael@paquier.xyz>
Reviewed-by: Andrew Dunstan <andrew@dunslane.net>
Reviewed-by: Julien Rouhaud <rjuju123@gmail.com>
Discussion: https://postgr.es/m/87fsvzhhc4.fsf@wibble.ilmari.org
2021-08-31 11:07:04 +02:00
..
bench Prohibit map and grep in void context 2021-08-31 11:07:04 +02:00
data
expected
sql
_int_bool.c
_int_gin.c
_int_gist.c Remove <@ from contrib/intarray's GiST operator classes. 2020-08-08 17:26:29 -04:00
_int_op.c
_int_selfuncs.c Update copyright for 2021 2021-01-02 13:06:25 -05:00
_int_tool.c
_int.h
_intbig_gist.c Remove <@ from contrib/intarray's GiST operator classes. 2020-08-08 17:26:29 -04:00
.gitignore
intarray--1.0--1.1.sql
intarray--1.1--1.2.sql Make contrib modules' installation scripts more secure. 2020-08-10 10:44:42 -04:00
intarray--1.2--1.3.sql
intarray--1.2.sql
intarray--1.3--1.4.sql Remove <@ from contrib/intarray's GiST operator classes. 2020-08-08 17:26:29 -04:00
intarray--1.4--1.5.sql Remove deprecated containment operators for contrib types. 2021-03-05 10:45:41 -05:00
intarray.control Remove deprecated containment operators for contrib types. 2021-03-05 10:45:41 -05:00
Makefile Remove deprecated containment operators for contrib types. 2021-03-05 10:45:41 -05:00