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 <[email protected]> Reviewed-by: Andrew Dunstan <[email protected]> Reviewed-by: Daniel Gustafsson <[email protected]> Discusson: https://postgr.es/m/[email protected] Backpatch-through: v12 Branch ------ REL_13_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/79ca063de8dace1ae0bb9774ca1f0480f4bcc73f Modified Files -------------- src/tools/pgindent/pgindent | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
