pgsql: Make naming of tupdesc related structs more consistent withthe

Поиск
Список
Период
Сортировка
От Andres Freund
Тема pgsql: Make naming of tupdesc related structs more consistent withthe
Дата
Msg-id E1gjCba-0001CG-5P@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Make naming of tupdesc related structs more consistent with the rest of PG.

We usually don't change the name of structs between the struct name
itself and the name of the typedef. Additionally, structs that are
usually used via a typedef that hides being a pointer, are commonly
suffixed Data.  Change tupdesc code to follow those convention.

This is triggered by a future patch that intends to forward declare
TupleDescData in another header - keeping with the naming scheme makes
that easier to understand.

Author: Andres Freund
Discussion: https://postgr.es/m/20190114000701.y4ttcb74jpskkcfb@alap3.anarazel.de

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/774a975c9a5903d271a727a260efd8c31125b9d6

Modified Files
--------------
src/backend/access/common/tupdesc.c  |  2 +-
src/backend/jit/llvm/llvmjit.c       |  4 ++--
src/backend/jit/llvm/llvmjit_types.c |  2 +-
src/include/access/tupdesc.h         | 15 ++++++++-------
src/include/access/tupdesc_details.h |  2 +-
src/include/jit/llvmjit.h            |  2 +-
6 files changed, 14 insertions(+), 13 deletions(-)


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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: pgsql: Fix typo in documentation
Следующее
От: Andres Freund
Дата:
Сообщение: pgsql: Don't include genam.h from execnodes.h and relscan.h anymore.