Commit c538592
committed
Make all Perl warnings fatal
There are a lot of Perl scripts in the tree, mostly code generation
and TAP tests. Occasionally, these scripts produce warnings. These
are probably always mistakes on the developer side (true positives).
Typical examples are warnings from genbki.pl or related when you make
a mess in the catalog files during development, or warnings from tests
when they massage a config file that looks different on different
hosts, or mistakes during merges (e.g., duplicate subroutine
definitions), or just mistakes that weren't noticed because there is a
lot of output in a verbose build.
This changes all warnings into fatal errors, by replacing
use warnings;
by
use warnings FATAL => 'all';
in all Perl files.
Discussion: https://www.postgresql.org/message-id/flat/06f899fd-1826-05ab-42d6-adeb1fd5e200%40eisentraut.org1 parent 7418767 commit c538592
File tree
278 files changed
+282
-280
lines changed- config
- contrib
- amcheck/t
- auto_explain/t
- basebackup_to_shell/t
- bloom/t
- fuzzystrmatch
- intarray/bench
- oid2name/t
- pg_prewarm/t
- seg
- test_decoding/t
- vacuumlo/t
- doc/src/sgml
- src
- backend
- catalog
- nodes
- parser
- snowball
- storage/lmgr
- utils
- activity
- mb/Unicode
- bin
- initdb/t
- pg_amcheck/t
- pg_archivecleanup/t
- pg_basebackup/t
- pg_checksums/t
- pg_combinebackup/t
- pg_config/t
- pg_controldata/t
- pg_ctl/t
- pg_dump/t
- pg_resetwal/t
- pg_rewind/t
- pg_test_fsync/t
- pg_test_timing/t
- pg_upgrade/t
- pg_verifybackup/t
- pg_waldump/t
- pgbench/t
- psql
- t
- scripts/t
- common/unicode
- include/catalog
- interfaces
- ecpg/preproc
- libpq/t
- pl
- plperl
- plpgsql/src
- plpython
- tcl
- test
- authentication/t
- icu/t
- kerberos/t
- ldap
- t
- locale
- modules
- brin/t
- commit_ts/t
- ldap_password_func/t
- libpq_pipeline/t
- ssl_passphrase_callback/t
- test_custom_rmgrs/t
- test_misc/t
- test_pg_dump/t
- worker_spi/t
- xid_wraparound/t
- perl
- PostgreSQL
- Test
- recovery/t
- ssl/t
- SSL
- Backend
- subscription/t
- tools
- ci
- pg_bsd_indent/t
- pginclude
- pgindent
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
278 files changed
+282
-280
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
0 commit comments