Обсуждение: pgsql: Clean up cpluspluscheck violation.

Поиск
Список
Период
Сортировка

pgsql: Clean up cpluspluscheck violation.

От
Tom Lane
Дата:
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.)

Branch
------
REL_10_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/891358f3c71dc359c05ff7b13726ab9e4caf0e5a

Modified Files
--------------
src/bin/pg_upgrade/pg_upgrade.h | 2 +-
src/bin/pg_upgrade/version.c    | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)