pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Rearrange c.h to create a "compiler characteristics" section. 4+ messages / 1 participants [nested] [flat]
* pgsql: Rearrange c.h to create a "compiler characteristics" section. @ 2017-11-14 18:47 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 4+ messages in thread From: Tom Lane @ 2017-11-14 18:47 UTC (permalink / raw) To: pgsql-committers Rearrange c.h to create a "compiler characteristics" section. Generalize section 1 to handle stuff that is principally about the compiler (not libraries), such as attributes, and collect stuff there that had been dropped into various other parts of c.h. Also, push all the gettext macros into section 8, so that section 0 is really just inclusions rather than inclusions and random other stuff. The primary goal here is to get pg_attribute_aligned() defined before section 3, so that we can use it with int128. But this seems like good cleanup anyway. This patch just moves macro definitions around, and shouldn't result in any changes in generated code. But I'll push it out separately to see if the buildfarm agrees. Discussion: https://postgr.es/m/20171110185747.31519.28038@wrigleys.postgresql.org Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/91aec93e6089a5ba49cce0aca3bf7f7022d62ea4 Modified Files -------------- src/include/c.h | 271 ++++++++++++++++++++++++++++---------------------------- 1 file changed, 136 insertions(+), 135 deletions(-) ^ permalink raw reply [nested|flat] 4+ messages in thread
* pgsql: Rearrange c.h to create a "compiler characteristics" section. @ 2017-11-14 22:50 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 4+ messages in thread From: Tom Lane @ 2017-11-14 22:50 UTC (permalink / raw) To: pgsql-committers Rearrange c.h to create a "compiler characteristics" section. Generalize section 1 to handle stuff that is principally about the compiler (not libraries), such as attributes, and collect stuff there that had been dropped into various other parts of c.h. Also, push all the gettext macros into section 8, so that section 0 is really just inclusions rather than inclusions and random other stuff. The primary goal here is to get pg_attribute_aligned() defined before section 3, so that we can use it with int128. But this seems like good cleanup anyway. This patch just moves macro definitions around, and shouldn't result in any changes in generated code. Back-patch of commit 91aec93e6. Discussion: https://postgr.es/m/20171110185747.31519.28038@wrigleys.postgresql.org Branch ------ REL_10_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/a8910506757c58016616b9b0c4c6c78dcb835e3b Modified Files -------------- src/include/c.h | 238 ++++++++++++++++++++++++++++---------------------------- 1 file changed, 120 insertions(+), 118 deletions(-) ^ permalink raw reply [nested|flat] 4+ messages in thread
* pgsql: Rearrange c.h to create a "compiler characteristics" section. @ 2017-11-14 22:50 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 4+ messages in thread From: Tom Lane @ 2017-11-14 22:50 UTC (permalink / raw) To: pgsql-committers Rearrange c.h to create a "compiler characteristics" section. Generalize section 1 to handle stuff that is principally about the compiler (not libraries), such as attributes, and collect stuff there that had been dropped into various other parts of c.h. Also, push all the gettext macros into section 8, so that section 0 is really just inclusions rather than inclusions and random other stuff. The primary goal here is to get pg_attribute_aligned() defined before section 3, so that we can use it with int128. But this seems like good cleanup anyway. This patch just moves macro definitions around, and shouldn't result in any changes in generated code. Back-patch of commit 91aec93e6. Discussion: https://postgr.es/m/20171110185747.31519.28038@wrigleys.postgresql.org Branch ------ REL9_6_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/6c35b3aa465e9afd859df5ad3b3e493e8e47c40e Modified Files -------------- src/include/c.h | 218 ++++++++++++++++++++++++++++---------------------------- 1 file changed, 110 insertions(+), 108 deletions(-) ^ permalink raw reply [nested|flat] 4+ messages in thread
* pgsql: Rearrange c.h to create a "compiler characteristics" section. @ 2017-11-14 22:50 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 4+ messages in thread From: Tom Lane @ 2017-11-14 22:50 UTC (permalink / raw) To: pgsql-committers Rearrange c.h to create a "compiler characteristics" section. Generalize section 1 to handle stuff that is principally about the compiler (not libraries), such as attributes, and collect stuff there that had been dropped into various other parts of c.h. Also, push all the gettext macros into section 8, so that section 0 is really just inclusions rather than inclusions and random other stuff. The primary goal here is to get pg_attribute_aligned() defined before section 3, so that we can use it with int128. But this seems like good cleanup anyway. This patch just moves macro definitions around, and shouldn't result in any changes in generated code. Back-patch of commit 91aec93e6. Discussion: https://postgr.es/m/20171110185747.31519.28038@wrigleys.postgresql.org Branch ------ REL9_5_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/cfc157078f2e9a7d737797647a544f5309571967 Modified Files -------------- src/include/c.h | 262 ++++++++++++++++++++++++++++---------------------------- 1 file changed, 133 insertions(+), 129 deletions(-) ^ permalink raw reply [nested|flat] 4+ messages in thread
end of thread, other threads:[~2017-11-14 22:50 UTC | newest] Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2017-11-14 18:47 pgsql: Rearrange c.h to create a "compiler characteristics" section. Tom Lane <tgl@sss.pgh.pa.us> 2017-11-14 22:50 pgsql: Rearrange c.h to create a "compiler characteristics" section. Tom Lane <tgl@sss.pgh.pa.us> 2017-11-14 22:50 pgsql: Rearrange c.h to create a "compiler characteristics" section. Tom Lane <tgl@sss.pgh.pa.us> 2017-11-14 22:50 pgsql: Rearrange c.h to create a "compiler characteristics" section. 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