From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Pre-beta mechanical code beautification. |
Date: | 2024-05-14 20:35:01 |
Message-ID: | E1s6yrV-000DnS-PS@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Pre-beta mechanical code beautification.
Run pgindent, pgperltidy, and reformat-dat-files.
The pgindent part of this is pretty small, consisting mainly of
fixing up self-inflicted formatting damage from patches that
hadn't bothered to add their new typedefs to typedefs.list.
In order to keep it from making anything worse, I manually added
a dozen or so typedefs that appeared in the existing typedefs.list
but not in the buildfarm's list. Perhaps we should formalize that,
or better find a way to get those typedefs into the automatic list.
pgperltidy is as opinionated as always, and reformat-dat-files too.
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/da256a4a7fdcca35fe7ca808686ad3de6ee22306
Modified Files
--------------
contrib/sepgsql/hooks.c | 2 +-
contrib/sepgsql/label.c | 2 +-
contrib/sepgsql/uavc.c | 2 +-
src/backend/catalog/Catalog.pm | 110 +++++-----
src/bin/pg_amcheck/t/002_nonesuch.pl | 7 +-
src/bin/pg_basebackup/t/010_pg_basebackup.pl | 17 +-
src/bin/pg_basebackup/t/040_pg_createsubscriber.pl | 106 +++++-----
src/bin/pg_checksums/t/002_actions.pl | 2 +-
src/bin/pg_combinebackup/t/002_compare_backups.pl | 69 ++++---
src/bin/pg_combinebackup/t/003_timeline.pl | 16 +-
src/bin/pg_combinebackup/t/004_manifest.pl | 26 +--
src/bin/pg_combinebackup/t/005_integrity.pl | 45 +++--
src/bin/pg_combinebackup/t/006_db_file_copy.pl | 20 +-
src/bin/pg_dump/t/002_pg_dump.pl | 14 +-
src/bin/pg_rewind/t/003_extrafiles.pl | 4 +-
src/bin/pg_upgrade/check.c | 224 ++++++++++-----------
src/bin/pg_upgrade/t/003_logical_slots.pl | 5 +-
src/bin/pg_upgrade/t/004_subscription.pl | 3 +-
src/bin/pg_verifybackup/t/003_corruption.pl | 8 +-
src/bin/pg_verifybackup/t/005_bad_manifest.pl | 3 +-
src/bin/pg_waldump/t/001_basic.pl | 151 ++++++++++----
src/bin/pg_walsummary/t/002_blocks.pl | 10 +-
src/bin/pgbench/t/001_pgbench_with_server.pl | 9 +-
src/bin/psql/t/001_basic.pl | 16 +-
src/bin/scripts/t/011_clusterdb_all.pl | 9 +-
src/bin/scripts/t/050_dropdb.pl | 2 +-
src/bin/scripts/t/091_reindexdb_all.pl | 9 +-
src/bin/scripts/t/100_vacuumdb.pl | 5 +-
src/bin/scripts/t/101_vacuumdb_all.pl | 9 +-
src/common/jsonapi.c | 42 ++--
src/common/unicode_case.c | 10 +-
src/common/unicode_category.c | 4 +-
src/include/catalog/pg_aggregate.dat | 14 +-
src/include/catalog/pg_collation.dat | 3 +-
src/include/catalog/pg_database.dat | 6 +-
src/include/catalog/pg_proc.dat | 81 ++++----
src/include/catalog/pg_type.dat | 9 +-
src/include/common/unicode_case_table.h | 4 +-
src/include/common/unicode_category_table.h | 6 +-
src/interfaces/libpq/t/005_negotiate_encryption.pl | 180 +++++++++++------
src/port/pg_popcount_avx512.c | 2 +-
src/test/modules/test_pg_dump/t/001_base.pl | 12 +-
src/test/modules/test_radixtree/test_radixtree.c | 8 +-
src/test/perl/PostgreSQL/Test/Cluster.pm | 50 ++---
src/test/perl/PostgreSQL/Test/Kerberos.pm | 19 +-
src/test/recovery/t/001_stream_rep.pl | 8 +-
src/test/recovery/t/015_promotion_pages.pl | 3 +-
src/test/recovery/t/019_replslot_limit.pl | 4 +-
.../recovery/t/035_standby_logical_decoding.pl | 9 +-
src/test/recovery/t/037_invalid_database.pl | 10 +-
.../recovery/t/040_standby_failover_slots_sync.pl | 92 +++++----
src/test/ssl/t/001_ssltests.pl | 3 +-
src/test/subscription/t/008_diff_schema.pl | 3 +-
.../subscription/t/019_stream_subxact_ddl_abort.pl | 3 +-
src/test/subscription/t/026_stats.pl | 3 +-
src/test/subscription/t/029_on_error.pl | 3 +-
src/test/subscription/t/032_subscribe_use_index.pl | 3 +-
src/test/subscription/t/033_run_as_table_owner.pl | 5 +-
src/test/subscription/t/100_bugs.pl | 15 +-
src/tools/pgindent/typedefs.list | 143 ++++++++-----
60 files changed, 971 insertions(+), 691 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2024-05-14 20:37:39 | pgsql: Add da256a4a7 to .git-blame-ignore-revs. |
Previous Message | Peter Eisentraut | 2024-05-14 11:07:58 | pgsql: Add missing gettext triggers |