Re: Making C function declaration parameter names consistent with corresponding definition names
Peter Geoghegan <pg@bowt.ie>
From: Peter Geoghegan <pg@bowt.ie>
To: David Rowley <dgrowleyml@gmail.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>,
Andres Freund <andres@anarazel.de>
Date: 2022-09-22T21:41:21Z
Lists: pgsql-hackers
Attachments
- v6-0001-Harmonize-parameter-names-in-pg_dump-pg_dumpall.patch (application/x-patch) patch v6-0001
On Wed, Sep 21, 2022 at 6:58 PM Peter Geoghegan <pg@bowt.ie> wrote: > Attached revision shows where I'm at with this. Would be nice to get > it all out of the way before too long. Attached is v6, which now consists of only one single patch, which fixes things up in pg_dump. (This is almost though not quite identical to the same patch from v5.) I would like to give another 24 hours for anybody to lodge final objections to what I've done in this patch. It seems possible that there will be concerns about how this might affect backpatching, or something like that. This patch goes relatively far in the direction of refactoring to make things consistent at the module level -- unlike most of the patches, which largely consisted of mechanical adjustments that were obviously correct, both locally and at the whole-module level. BTW, I notice that meson seems to have built-in support for running scan-build, a tool that performs static analysis using clang. I'm pretty sure that it's possible to use scan-build to run clang-tidy checks (though I've just been using run-clang-tidy myself). Perhaps it would make sense to use meson's support for scan-build to make it easy for everybody to run the clang-tidy checks locally. -- Peter Geoghegan
Commits
-
Harmonize parameter names in pg_dump/pg_dumpall.
- 20e69daa1348 16.0 landed
-
Harmonize parameter names in contrib code.
- 0faf7d933f62 16.0 landed
-
Harmonize more lexer function parameter names.
- 8fb4e001e9c1 16.0 landed
-
Harmonize parameter names in ecpg code.
- 3535ebce5dc5 16.0 landed
-
Harmonize lexer adjacent function parameter names.
- aab06442d488 16.0 landed
-
Harmonize more parameter names in bulk.
- a601366a460f 16.0 landed
-
Harmonize parameter names in storage and AM code.
- bfcf1b34805f 16.0 landed
-
Harmonize heapam and tableam parameter names.
- 4bac9600f09a 16.0 landed
-
Consistently use named parameters in timezone code.
- c4f8e89fef3d 16.0 landed
-
Consistently use named parameters in regex code.
- bc2187ed63c5 16.0 landed
-
Harmonize reorderbuffer parameter names.
- 035ce1feb2ed 16.0 landed
-
Make check_usermap() parameter names consistent.
- 4274dc223ce7 16.0 landed
- 1ef00afe2e45 15.0 landed
- 44933010ceb3 14.6 landed
- b7558111aba2 13.9 landed
- c1dd5a8aedc7 12.13 landed
- f01fd89b1537 11.18 landed
- 109836a14fe9 10.23 landed