pgsql: Rename pg_shdepend.c's typedef "objectType" to SharedDependencyO - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Rename pg_shdepend.c's typedef "objectType" to SharedDependencyO
Date
Msg-id E1YwZJt-0001T3-A5@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Rename pg_shdepend.c's typedef "objectType" to SharedDependencyObjectType.

The name objectType is widely used as a field name, and it's pure luck that
this conflict has not caused pgindent to go crazy before.  It messed up
pg_audit.c pretty good though.  Since pg_shdepend.c doesn't export this
typedef and only uses it in three places, changing that seems saner than
changing the field usages.

Back-patch because we're contemplating using the union of all branch
typedefs for future pgindent runs, so this won't fix anything if it
stays the same in back branches.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/17b48a1a9f87f7479d38dcc78a27c23f1f8124f8

Modified Files
--------------
src/backend/catalog/pg_shdepend.c |    8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Add a bit more commentary about regex's colormap tree data struc
Next
From: Tom Lane
Date:
Subject: pgsql: Rename pg_shdepend.c's typedef "objectType" to SharedDependencyO