pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Fix portability failure introduced in commits d2b0b60e7 et al. 6+ messages / 1 participants [nested] [flat]
* pgsql: Fix portability failure introduced in commits d2b0b60e7 et al. @ 2018-12-26 20:30 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 6+ messages in thread From: Tom Lane @ 2018-12-26 20:30 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Fix portability failure introduced in commits d2b0b60e7 et al. I made a frontend fprintf() format use %m, forgetting that that's only safe in HEAD not the back branches; prior to 96bf88d52 and d6c55de1f, it would work on glibc platforms but not elsewhere. Revert to using %s ... strerror(errno) as the code did before. We could have left HEAD as-is, but for code consistency across branches, I chose to apply this patch there too. Per Coverity and a few buildfarm members. Branch ------ REL_11_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/47c93ace9fd1e3ed90defb3a478ad2287342b22d Modified Files -------------- src/common/psprintf.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Fix portability failure introduced in commits d2b0b60e7 et al. @ 2018-12-26 20:30 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 6+ messages in thread From: Tom Lane @ 2018-12-26 20:30 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Fix portability failure introduced in commits d2b0b60e7 et al. I made a frontend fprintf() format use %m, forgetting that that's only safe in HEAD not the back branches; prior to 96bf88d52 and d6c55de1f, it would work on glibc platforms but not elsewhere. Revert to using %s ... strerror(errno) as the code did before. We could have left HEAD as-is, but for code consistency across branches, I chose to apply this patch there too. Per Coverity and a few buildfarm members. Branch ------ REL_10_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/9939ea16c2dcf98e7fe05666ed3c3d547a655250 Modified Files -------------- src/common/psprintf.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Fix portability failure introduced in commits d2b0b60e7 et al. @ 2018-12-26 20:30 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 6+ messages in thread From: Tom Lane @ 2018-12-26 20:30 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Fix portability failure introduced in commits d2b0b60e7 et al. I made a frontend fprintf() format use %m, forgetting that that's only safe in HEAD not the back branches; prior to 96bf88d52 and d6c55de1f, it would work on glibc platforms but not elsewhere. Revert to using %s ... strerror(errno) as the code did before. We could have left HEAD as-is, but for code consistency across branches, I chose to apply this patch there too. Per Coverity and a few buildfarm members. Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/e9fcfed3fb6b15e6b33bea9bb8504b14560857a8 Modified Files -------------- src/common/psprintf.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Fix portability failure introduced in commits d2b0b60e7 et al. @ 2018-12-26 20:30 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 6+ messages in thread From: Tom Lane @ 2018-12-26 20:30 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Fix portability failure introduced in commits d2b0b60e7 et al. I made a frontend fprintf() format use %m, forgetting that that's only safe in HEAD not the back branches; prior to 96bf88d52 and d6c55de1f, it would work on glibc platforms but not elsewhere. Revert to using %s ... strerror(errno) as the code did before. We could have left HEAD as-is, but for code consistency across branches, I chose to apply this patch there too. Per Coverity and a few buildfarm members. Branch ------ REL9_5_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/b8fa4c1626190142d2e98155f9df99f80fe01cef Modified Files -------------- src/common/psprintf.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Fix portability failure introduced in commits d2b0b60e7 et al. @ 2018-12-26 20:30 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 6+ messages in thread From: Tom Lane @ 2018-12-26 20:30 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Fix portability failure introduced in commits d2b0b60e7 et al. I made a frontend fprintf() format use %m, forgetting that that's only safe in HEAD not the back branches; prior to 96bf88d52 and d6c55de1f, it would work on glibc platforms but not elsewhere. Revert to using %s ... strerror(errno) as the code did before. We could have left HEAD as-is, but for code consistency across branches, I chose to apply this patch there too. Per Coverity and a few buildfarm members. Branch ------ REL9_6_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/811821748b5b833766444325c105b4bc25aac847 Modified Files -------------- src/common/psprintf.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Fix portability failure introduced in commits d2b0b60e7 et al. @ 2018-12-26 20:30 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 6+ messages in thread From: Tom Lane @ 2018-12-26 20:30 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Fix portability failure introduced in commits d2b0b60e7 et al. I made a frontend fprintf() format use %m, forgetting that that's only safe in HEAD not the back branches; prior to 96bf88d52 and d6c55de1f, it would work on glibc platforms but not elsewhere. Revert to using %s ... strerror(errno) as the code did before. We could have left HEAD as-is, but for code consistency across branches, I chose to apply this patch there too. Per Coverity and a few buildfarm members. Branch ------ REL9_4_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/4f7ab73106a0782fde22f7f405ef36954cb40eb5 Modified Files -------------- src/common/psprintf.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) ^ permalink raw reply [nested|flat] 6+ messages in thread
end of thread, other threads:[~2018-12-26 20:30 UTC | newest] Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2018-12-26 20:30 pgsql: Fix portability failure introduced in commits d2b0b60e7 et al. Tom Lane <tgl@sss.pgh.pa.us> 2018-12-26 20:30 pgsql: Fix portability failure introduced in commits d2b0b60e7 et al. Tom Lane <tgl@sss.pgh.pa.us> 2018-12-26 20:30 pgsql: Fix portability failure introduced in commits d2b0b60e7 et al. Tom Lane <tgl@sss.pgh.pa.us> 2018-12-26 20:30 pgsql: Fix portability failure introduced in commits d2b0b60e7 et al. Tom Lane <tgl@sss.pgh.pa.us> 2018-12-26 20:30 pgsql: Fix portability failure introduced in commits d2b0b60e7 et al. Tom Lane <tgl@sss.pgh.pa.us> 2018-12-26 20:30 pgsql: Fix portability failure introduced in commits d2b0b60e7 et al. 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