pgsql: Rename pg_shdepend.c's typedef "objectType" to SharedDependencyO

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Rename pg_shdepend.c's typedef "objectType" to SharedDependencyO
Дата
Msg-id E1YwZJt-0001T3-A5@gemulon.postgresql.org
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Add a bit more commentary about regex's colormap tree data struc
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Rename pg_shdepend.c's typedef "objectType" to SharedDependencyO