]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Remove incorrect function import from pgindent
authorDaniel Gustafsson <dgustafsson@postgresql.org>
Wed, 9 Oct 2024 07:34:34 +0000 (09:34 +0200)
committerDaniel Gustafsson <dgustafsson@postgresql.org>
Wed, 9 Oct 2024 07:34:34 +0000 (09:34 +0200)
commitf21e51ea73973f87715581fc68a6caf97f56505e
treec4fbd79f6f2eb97594e026755b68777ab82e5cbf
parent0c40d901907ab16dcfc3895a16d718231e2f8729
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
src/tools/pgindent/pgindent