Re: Making C function declaration parameter names consistent with corresponding definition names
David Rowley <dgrowleyml@gmail.com>
From: David Rowley <dgrowleyml@gmail.com>
To: Peter Geoghegan <pg@bowt.ie>
Cc: Tom Lane <tgl@sss.pgh.pa.us>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2022-09-19T04:07:18Z
Lists: pgsql-hackers
On Mon, 19 Sept 2022 at 15:04, Peter Geoghegan <pg@bowt.ie> wrote: > The general structure of the patchset is now a little more worked out. > Although it's still not close to being commitable, it should give you > a better idea of the kind of structure that I'm aiming for. I think > that this should be broken into a few different parts based on the > area of the codebase affected (not the type of check used). Even that > aspect needs more work, because there is still one massive patch -- > this is now the sixth and final patch. Thanks for updating the patches. I'm slightly confused about "still not close to being commitable" along with "this is now the sixth and final patch.". That seems to imply that you're not planning to send any more patches but you don't think this is commitable. I'm assuming I've misunderstood that. I don't have any problems with 0001, 0002 or 0003. Looking at 0004 I see a few issues: 1. ConnectDatabase() seems to need a bit more work in the header comment. There's a reference to AH and AHX. The parameter is now called "A". 2. setup_connection() still references AH->use_role in the comments (line 1102). Similar problem on line 1207 with AH->sync_snapshot_id 3. setupDumpWorker() still makes references to AH->sync_snapshot_id and AH->use_role in the comments. The parameter is now called "A". 4. dumpSearchPath() still has a comment which references AH->searchpath 0005 looks fine. I've not looked at 0006 again. David
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