pgsql: Suppress compiler warning in new contrib/pg_trgm code.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Suppress compiler warning in new contrib/pg_trgm code.
Date: 2014-04-13 15:00:19
Message-ID: E1WZLtL-0005gK-JQ@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Suppress compiler warning in new contrib/pg_trgm code.

MSVC doesn't seem to like it when a constant initializer loses
precision upon being assigned.

David Rowley

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/46a60abfe9fa13087dbbe15953c20df35f006968

Modified Files
--------------
contrib/pg_trgm/trgm_regexp.c | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2014-04-13 17:59:27 pgsql: Improve some O(N^2) behavior in window function evaluation.
Previous Message Andrew Dunstan 2014-04-13 13:23:44 Re: pgsql: Add ANALYZE into regression tests