From: Andres Freund <andres@anarazel.de>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Make naming of tupdesc related structs more consistent with the
Date: Tue, 15 Jan 2019 00:29:22 +0000
Message-ID: <E1gjCba-0001CG-5P@gemulon.postgresql.org> (raw)
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(-)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: andres@anarazel.de
Subject: Re: pgsql: Make naming of tupdesc related structs more consistent with the
In-Reply-To: <E1gjCba-0001CG-5P@gemulon.postgresql.org>
References: <E1gjCba-0001CG-5P@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
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