pgsql: Make naming of tupdesc related structs more consistent withthe - Mailing list pgsql-committers

From Andres Freund
Subject pgsql: Make naming of tupdesc related structs more consistent withthe
Date
Msg-id E1gjCba-0001CG-5P@gemulon.postgresql.org
Whole thread Raw
List 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 by date:

Previous
From: Michael Paquier
Date:
Subject: pgsql: Fix typo in documentation
Next
From: Andres Freund
Date:
Subject: pgsql: Don't include genam.h from execnodes.h and relscan.h anymore.