From: | Andres Freund <andres(at)anarazel(dot)de> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Make naming of tupdesc related structs more consistent with the |
Date: | 2019-01-15 00:29:22 |
Message-ID: | E1gjCba-0001CG-5P@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Andres Freund | 2019-01-15 01:16:11 | pgsql: Don't include genam.h from execnodes.h and relscan.h anymore. |
Previous Message | Michael Paquier | 2019-01-14 23:48:51 | pgsql: Fix typos in documentation and for one wait event |