pgsql: Remove incorrect function import from pgindent - Mailing list pgsql-committers

From Daniel Gustafsson
Subject pgsql: Remove incorrect function import from pgindent
Date
Msg-id E1syRLt-002oco-9y@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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 <ewie@ewie.name>
Reviewed-by: Andrew Dunstan <andrew@dunslane.net>
Reviewed-by: Daniel Gustafsson <daniel@yesql.se>
Discusson: https://postgr.es/m/2372cd74-11b0-46f9-b28e-8f9627215d19@ewie.name
Backpatch-through: v12

Branch
------
REL_12_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/610c65064732d25e7a0066ea49b56433b9c2cc4c

Modified Files
--------------
src/tools/pgindent/pgindent | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)


pgsql-committers by date:

Previous
From: Daniel Gustafsson
Date:
Subject: pgsql: Remove incorrect function import from pgindent
Next
From: Daniel Gustafsson
Date:
Subject: pgsql: doc: Fix mention of AT LOCAL in release notes