]> granicus.if.org Git - postgresql/commit
Rename pg_shdepend.c's typedef "objectType" to SharedDependencyObjectType.
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 24 May 2015 17:03:45 +0000 (13:03 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 24 May 2015 17:03:45 +0000 (13:03 -0400)
commit17b48a1a9f87f7479d38dcc78a27c23f1f8124f8
treed58e4b6da603559d2e1125893ead2bbce666f70b
parent23116d5437d0e8d077e7fd5391f5fa0fc781b7d2
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.
src/backend/catalog/pg_shdepend.c