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-0001TG-B3@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
------
REL9_0_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/991dee2e604486b4880bf6b995dc2f5064edaa1c

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


В списке pgsql-committers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Rename pg_shdepend.c's typedef "objectType" to SharedDependencyO
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Manual cleanup of pgindent results.