| From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> | 
|---|---|
| To: | pgsql-committers(at)postgresql(dot)org | 
| Subject: | pgsql: Rename pg_shdepend.c's typedef "objectType" to SharedDependencyO | 
| Date: | 2015-05-24 17:04:13 | 
| Message-ID: | E1YwZJt-0001TD-At@gemulon.postgresql.org | 
| Views: | Whole Thread | Raw Message | Download mbox | Resend email | 
| Thread: | |
| Lists: | 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
------
REL9_1_STABLE
Details
-------
http://git.postgresql.org/pg/commitdiff/2e4c50137a6f96f84d804b41b355e125979e5494
Modified Files
--------------
src/backend/catalog/pg_shdepend.c |    8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2015-05-24 19:04:16 | pgsql: Manual cleanup of pgindent results. | 
| Previous Message | Tom Lane | 2015-05-24 16:40:47 | pgsql: Add a bit more commentary about regex's colormap tree data struc |