Remove incorrect function import from pgindent Commit 149ac7d4559 which re-implemented pgindent in Perl explicitly imported the devnull function from File::Spec, but the module does not export anything. In recent versions of Perl calling a missing import function cause a warning, which combined with warnings being fatal cause pgindent to error out.
Backpatch to all supported versions. Author: Erik Wienhold <e...@ewie.name> Reviewed-by: Andrew Dunstan <and...@dunslane.net> Reviewed-by: Daniel Gustafsson <dan...@yesql.se> Discusson: https://postgr.es/m/2372cd74-11b0-46f9-b28e-8f9627215...@ewie.name Backpatch-through: v12 Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/c4528fdfa903c74cf99837a554bd3c7e115bb366 Modified Files -------------- src/tools/pgindent/pgindent | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)