Check for correct version of perltidy pgperltidy requires a particular version of perltidy, but the version wasn't checked like how pgindent checks the underlying indent binary. Fix by checking the version of perltidy and error out if an incorrect version is used.
Author: Daniel Gustafsson <[email protected]> Reported-by: Tom Lane <[email protected]> Reviewed-by: Dagfinn Ilmari Mannsåker <[email protected]> Reviewed-by: Álvaro Herrera <[email protected]> Reviewed-by: Tom Lane <[email protected]> Reviewed-by: Andrew Dunstan <[email protected]> Discussion: https://postgr.es/m/[email protected] Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/1cdb84bb1bcd6de4abcb5b2137f57c6c7463f4ab Modified Files -------------- src/tools/pgindent/pgperltidy | 6 ++++++ 1 file changed, 6 insertions(+)
