]> granicus.if.org Git - postgresql/commit
Make naming of tupdesc related structs more consistent with the rest of PG.
authorAndres Freund <andres@anarazel.de>
Tue, 15 Jan 2019 00:15:20 +0000 (16:15 -0800)
committerAndres Freund <andres@anarazel.de>
Tue, 15 Jan 2019 00:25:50 +0000 (16:25 -0800)
commit774a975c9a5903d271a727a260efd8c31125b9d6
treeab4f9c018b82f5a4c97917470ea034fb4dfebd72
parente451dd5521966516110eb1761342ae4a1380b19d
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
src/backend/access/common/tupdesc.c
src/backend/jit/llvm/llvmjit.c
src/backend/jit/llvm/llvmjit_types.c
src/include/access/tupdesc.h
src/include/access/tupdesc_details.h
src/include/jit/llvmjit.h