pgsql: Fix C++ compile failures in headers.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Fix C++ compile failures in headers.
Дата
Msg-id E1ghffW-0004Jv-5s@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Fix C++ compile failures in headers.

Avoid using "typeid" as a parameter name in header files, since that
is a C++ keyword.  These cases were introduced recently, in 04fe805a1
and 586b98fdf.

Since I'm an incurable neatnik, also rename these parameters in the
underlying function definitions.  That's not really necessary per
project rules, but I don't like function declarations that don't
quite agree with the underlying definitions.

Per src/tools/pginclude/cpluspluscheck.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/eaf0380eccd53df5ce7d1fed41f4ca16f4146408

Modified Files
--------------
src/backend/optimizer/plan/setrefs.c |  6 +++---
src/backend/utils/adt/varlena.c      | 16 ++++++++--------
src/include/optimizer/planmain.h     |  2 +-
src/include/utils/varlena.h          |  2 +-
4 files changed, 13 insertions(+), 13 deletions(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: pgsql: Move inheritance expansion code into its own file
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Add .gitignore entry for a derived file created by "makedistpre