From: | Andres Freund <andres(at)anarazel(dot)de> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Fix MSVC warning in compat_informix/rnull.pgc |
Date: | 2022-08-31 16:42:27 |
Message-ID: | E1oTQnK-000mSz-IR@gemulon.postgresql.org |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Fix MSVC warning in compat_informix/rnull.pgc
Building the ecpg tests with MSVC, with warnings enabled, results in the
following warning:
src/interfaces/ecpg/test/compat_informix/rnull.pgc(19,1): warning C4305: 'initializing': truncation from 'double' to 'float'
The more obvious fix would be an 'f' suffix, but ecpg can't parse that.
Reviewed-by: Peter Eisentraut <peter(dot)eisentraut(at)enterprisedb(dot)com>
Discussion: https://postgr.es/m/2180a97c-c026-1b6c-cec8-d6e499f97017@enterprisedb.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/483ac6476198c66696b725d49aa42290a9a94a95
Modified Files
--------------
src/interfaces/ecpg/test/compat_informix/rnull.pgc | 2 +-
src/interfaces/ecpg/test/expected/compat_informix-rnull.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Peter Geoghegan | 2022-08-31 18:38:51 | pgsql: Derive freeze cutoff from nextXID, not OldestXmin. |
Previous Message | Tom Lane | 2022-08-31 14:42:21 | pgsql: In the Snowball dictionary, don't try to stem excessively-long w |