pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Rename pg_shdepend.c's typedef "objectType" to SharedDependencyO 6+ messages / 1 participants [nested] [flat]
* pgsql: Rename pg_shdepend.c's typedef "objectType" to SharedDependencyO @ 2015-05-24 17:04 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 6+ messages in thread From: Tom Lane @ 2015-05-24 17:04 UTC (permalink / raw) To: 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(-) -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Rename pg_shdepend.c's typedef "objectType" to SharedDependencyO @ 2015-05-24 17:04 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 6+ messages in thread From: Tom Lane @ 2015-05-24 17:04 UTC (permalink / raw) To: 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_4_STABLE Details ------- http://git.postgresql.org/pg/commitdiff/20bc3548d77a30eeae37e3cc86088fc52059ca4a Modified Files -------------- src/backend/catalog/pg_shdepend.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Rename pg_shdepend.c's typedef "objectType" to SharedDependencyO @ 2015-05-24 17:04 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 6+ messages in thread From: Tom Lane @ 2015-05-24 17:04 UTC (permalink / raw) To: 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_3_STABLE Details ------- http://git.postgresql.org/pg/commitdiff/887e4b79f09a01f79ce2bbd0fb5846a316328a3f Modified Files -------------- src/backend/catalog/pg_shdepend.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Rename pg_shdepend.c's typedef "objectType" to SharedDependencyO @ 2015-05-24 17:04 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 6+ messages in thread From: Tom Lane @ 2015-05-24 17:04 UTC (permalink / raw) To: 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_2_STABLE Details ------- http://git.postgresql.org/pg/commitdiff/e1f1807c7a4a9f08149a332817ad127be296320b Modified Files -------------- src/backend/catalog/pg_shdepend.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Rename pg_shdepend.c's typedef "objectType" to SharedDependencyO @ 2015-05-24 17:04 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 6+ messages in thread From: Tom Lane @ 2015-05-24 17:04 UTC (permalink / raw) To: 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(-) -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Rename pg_shdepend.c's typedef "objectType" to SharedDependencyO @ 2015-05-24 17:04 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 6+ messages in thread From: Tom Lane @ 2015-05-24 17:04 UTC (permalink / raw) To: 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(-) -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers ^ permalink raw reply [nested|flat] 6+ messages in thread
end of thread, other threads:[~2015-05-24 17:04 UTC | newest] Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2015-05-24 17:04 pgsql: Rename pg_shdepend.c's typedef "objectType" to SharedDependencyO Tom Lane <tgl@sss.pgh.pa.us> 2015-05-24 17:04 pgsql: Rename pg_shdepend.c's typedef "objectType" to SharedDependencyO Tom Lane <tgl@sss.pgh.pa.us> 2015-05-24 17:04 pgsql: Rename pg_shdepend.c's typedef "objectType" to SharedDependencyO Tom Lane <tgl@sss.pgh.pa.us> 2015-05-24 17:04 pgsql: Rename pg_shdepend.c's typedef "objectType" to SharedDependencyO Tom Lane <tgl@sss.pgh.pa.us> 2015-05-24 17:04 pgsql: Rename pg_shdepend.c's typedef "objectType" to SharedDependencyO Tom Lane <tgl@sss.pgh.pa.us> 2015-05-24 17:04 pgsql: Rename pg_shdepend.c's typedef "objectType" to SharedDependencyO Tom Lane <tgl@sss.pgh.pa.us>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox