pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Clean up cpluspluscheck violation. 7+ messages / 1 participants [nested] [flat]
* pgsql: Clean up cpluspluscheck violation. @ 2020-04-21 15:21 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 7+ messages in thread From: Tom Lane @ 2020-04-21 15:21 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Clean up cpluspluscheck violation. "operator" is a reserved word in C++, so per project conventions, don't use it as an identifier in header files. My oversight in commit a80818605. Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/9d25e1aa311c0f0c77155382e6608545b7bf579c Modified Files -------------- src/backend/utils/adt/selfuncs.c | 4 ++-- src/include/utils/selfuncs.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) ^ permalink raw reply [nested|flat] 7+ messages in thread
* pgsql: Clean up cpluspluscheck violation. @ 2021-05-20 17:03 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 7+ messages in thread From: Tom Lane @ 2021-05-20 17:03 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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 ------ master Details ------- https://git.postgresql.org/pg/commitdiff/6d59a218c38adf5b993200a804713df4982a0c75 Modified Files -------------- src/bin/pg_upgrade/pg_upgrade.h | 2 +- src/bin/pg_upgrade/version.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) ^ permalink raw reply [nested|flat] 7+ messages in thread
* pgsql: Clean up cpluspluscheck violation. @ 2021-05-20 17:03 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 7+ messages in thread From: Tom Lane @ 2021-05-20 17:03 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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_13_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/9dc76f032cd6a1fbde760aa9c264057fec7b1855 Modified Files -------------- src/bin/pg_upgrade/pg_upgrade.h | 2 +- src/bin/pg_upgrade/version.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) ^ permalink raw reply [nested|flat] 7+ messages in thread
* pgsql: Clean up cpluspluscheck violation. @ 2021-05-20 17:03 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 7+ messages in thread From: Tom Lane @ 2021-05-20 17:03 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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_12_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/0b2686032bac25f4950551d18de210e1041258eb Modified Files -------------- src/bin/pg_upgrade/pg_upgrade.h | 2 +- src/bin/pg_upgrade/version.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) ^ permalink raw reply [nested|flat] 7+ messages in thread
* pgsql: Clean up cpluspluscheck violation. @ 2021-05-20 17:03 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 7+ messages in thread From: Tom Lane @ 2021-05-20 17:03 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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_11_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/04959a648b597e91cf2865d2bb1e543f5eb9d9a5 Modified Files -------------- src/bin/pg_upgrade/pg_upgrade.h | 2 +- src/bin/pg_upgrade/version.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) ^ permalink raw reply [nested|flat] 7+ messages in thread
* pgsql: Clean up cpluspluscheck violation. @ 2021-05-20 17:03 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 7+ messages in thread From: Tom Lane @ 2021-05-20 17:03 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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(-) ^ permalink raw reply [nested|flat] 7+ messages in thread
* pgsql: Clean up cpluspluscheck violation. @ 2021-05-20 17:03 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 7+ messages in thread From: Tom Lane @ 2021-05-20 17:03 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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 ------ REL9_6_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/85c809496d75361aae03d70c68c286f8e2255c68 Modified Files -------------- src/bin/pg_upgrade/pg_upgrade.h | 2 +- src/bin/pg_upgrade/version.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) ^ permalink raw reply [nested|flat] 7+ messages in thread
end of thread, other threads:[~2021-05-20 17:03 UTC | newest] Thread overview: 7+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2020-04-21 15:21 pgsql: Clean up cpluspluscheck violation. Tom Lane <tgl@sss.pgh.pa.us> 2021-05-20 17:03 pgsql: Clean up cpluspluscheck violation. Tom Lane <tgl@sss.pgh.pa.us> 2021-05-20 17:03 pgsql: Clean up cpluspluscheck violation. Tom Lane <tgl@sss.pgh.pa.us> 2021-05-20 17:03 pgsql: Clean up cpluspluscheck violation. Tom Lane <tgl@sss.pgh.pa.us> 2021-05-20 17:03 pgsql: Clean up cpluspluscheck violation. Tom Lane <tgl@sss.pgh.pa.us> 2021-05-20 17:03 pgsql: Clean up cpluspluscheck violation. Tom Lane <tgl@sss.pgh.pa.us> 2021-05-20 17:03 pgsql: Clean up cpluspluscheck violation. Tom Lane <tgl@sss.pgh.pa.us>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox