From: Andres Freund <andres@anarazel.de>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fix MSVC warning in compat_informix/rnull.pgc
Date: Wed, 31 Aug 2022 16:42:27 +0000
Message-ID: <E1oTQnK-000mSz-IR@gemulon.postgresql.org> (raw)
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.eisentraut@enterprisedb.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(-)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: andres@anarazel.de
Subject: Re: pgsql: Fix MSVC warning in compat_informix/rnull.pgc
In-Reply-To: <E1oTQnK-000mSz-IR@gemulon.postgresql.org>
References: <E1oTQnK-000mSz-IR@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
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