]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Clean up cpluspluscheck violation.
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 20 May 2021 17:03:08 +0000 (13:03 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 20 May 2021 17:03:08 +0000 (13:03 -0400)
commit9dc76f032cd6a1fbde760aa9c264057fec7b1855
treebaece5f862584662b3b5af26f0fff80463c6a660
parent010429eb1f77a6221f6c89b21b6b0c7820446201
Clean up cpluspluscheck violation.

"typename" is a C++ keyword, so pg_upgrade.h fails to compile in C++.
Fortunately, there seems no likely reason for somebody to need to
do that.  Nonetheless, it's project policy that all .h files should
pass cpluspluscheck, so rename the argument to fix that.

Oversight in 57c081de0; back-patch as that was.  (The policy requiring
pg_upgrade.h to pass cpluspluscheck only goes back to v12, but it
seems best to keep this code looking the same in all branches.)
src/bin/pg_upgrade/pg_upgrade.h
src/bin/pg_upgrade/version.c