pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Fix portability issue in tests from commit ce773f230. 5+ messages / 1 participants [nested] [flat]
* pgsql: Fix portability issue in tests from commit ce773f230. @ 2021-09-03 14:01 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 5+ messages in thread From: Tom Lane @ 2021-09-03 14:01 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Fix portability issue in tests from commit ce773f230. Modern POSIX seems to require strtod() to accept "-NaN", but there's nothing about NaN in SUSv2, and some of our oldest buildfarm members don't like it. Let's try writing it as -'NaN' instead; that seems to produce the same result, at least on Intel hardware. Per buildfarm. Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/fd549145d5d9fba3367cbf7e3d4fc7cb3562feb0 Modified Files -------------- src/test/regress/expected/hash_func.out | 4 ++-- src/test/regress/sql/hash_func.sql | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) ^ permalink raw reply [nested|flat] 5+ messages in thread
* pgsql: Fix portability issue in tests from commit ce773f230. @ 2021-09-03 14:01 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 5+ messages in thread From: Tom Lane @ 2021-09-03 14:01 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Fix portability issue in tests from commit ce773f230. Modern POSIX seems to require strtod() to accept "-NaN", but there's nothing about NaN in SUSv2, and some of our oldest buildfarm members don't like it. Let's try writing it as -'NaN' instead; that seems to produce the same result, at least on Intel hardware. Per buildfarm. Branch ------ REL_14_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/08b96a2b5243957acd3f7c3105af8b5b2d0da3ef Modified Files -------------- src/test/regress/expected/hash_func.out | 4 ++-- src/test/regress/sql/hash_func.sql | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) ^ permalink raw reply [nested|flat] 5+ messages in thread
* pgsql: Fix portability issue in tests from commit ce773f230. @ 2021-09-03 14:01 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 5+ messages in thread From: Tom Lane @ 2021-09-03 14:01 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Fix portability issue in tests from commit ce773f230. Modern POSIX seems to require strtod() to accept "-NaN", but there's nothing about NaN in SUSv2, and some of our oldest buildfarm members don't like it. Let's try writing it as -'NaN' instead; that seems to produce the same result, at least on Intel hardware. Per buildfarm. Branch ------ REL_13_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/9089f1543ef50414e1cecf89bc34eeb3ab1cb968 Modified Files -------------- src/test/regress/expected/hash_func.out | 4 ++-- src/test/regress/sql/hash_func.sql | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) ^ permalink raw reply [nested|flat] 5+ messages in thread
* pgsql: Fix portability issue in tests from commit ce773f230. @ 2021-09-03 14:01 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 5+ messages in thread From: Tom Lane @ 2021-09-03 14:01 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Fix portability issue in tests from commit ce773f230. Modern POSIX seems to require strtod() to accept "-NaN", but there's nothing about NaN in SUSv2, and some of our oldest buildfarm members don't like it. Let's try writing it as -'NaN' instead; that seems to produce the same result, at least on Intel hardware. Per buildfarm. Branch ------ REL_12_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/1fab33c0b612c7d87b97842fe5eb07871ec2c222 Modified Files -------------- src/test/regress/expected/hash_func.out | 4 ++-- src/test/regress/sql/hash_func.sql | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) ^ permalink raw reply [nested|flat] 5+ messages in thread
* pgsql: Fix portability issue in tests from commit ce773f230. @ 2021-09-03 14:01 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 5+ messages in thread From: Tom Lane @ 2021-09-03 14:01 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Fix portability issue in tests from commit ce773f230. Modern POSIX seems to require strtod() to accept "-NaN", but there's nothing about NaN in SUSv2, and some of our oldest buildfarm members don't like it. Let's try writing it as -'NaN' instead; that seems to produce the same result, at least on Intel hardware. Per buildfarm. Branch ------ REL_11_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/2836d57e44c67cc30453c83a33fbcf745f5d87ef Modified Files -------------- src/test/regress/expected/hash_func.out | 4 ++-- src/test/regress/sql/hash_func.sql | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) ^ permalink raw reply [nested|flat] 5+ messages in thread
end of thread, other threads:[~2021-09-03 14:01 UTC | newest] Thread overview: 5+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2021-09-03 14:01 pgsql: Fix portability issue in tests from commit ce773f230. Tom Lane <tgl@sss.pgh.pa.us> 2021-09-03 14:01 pgsql: Fix portability issue in tests from commit ce773f230. Tom Lane <tgl@sss.pgh.pa.us> 2021-09-03 14:01 pgsql: Fix portability issue in tests from commit ce773f230. Tom Lane <tgl@sss.pgh.pa.us> 2021-09-03 14:01 pgsql: Fix portability issue in tests from commit ce773f230. Tom Lane <tgl@sss.pgh.pa.us> 2021-09-03 14:01 pgsql: Fix portability issue in tests from commit ce773f230. 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