Rename pg_shdepend.c's typedef "objectType" to SharedDependencyObjectType.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 20bc3548d77a30eeae37e3cc86088fc52059ca4a
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2015-05-24T17:03:45Z
Releases: 9.4.3
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.

Files

PathChange+/−
src/backend/catalog/pg_shdepend.c modified +5 −3