pgsql: Recognize that MSVC can support strtoll() and strtoull().

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Recognize that MSVC can support strtoll() and strtoull().
Date: 2018-05-18 17:05:22
Message-ID: E1fJiok-0005P0-FS@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Recognize that MSVC can support strtoll() and strtoull().

This is needed for full support of "long long" variables in ecpg, but
the previous patch for bug #15080 (commits 51057feaa et al) missed it.
In MSVC versions where the functions don't exist under those names,
we can nonetheless use _strtoi64() and _strtoui64().

Like the previous patch, back-patch all the way.

Dang Minh Huong

Discussion: https://postgr.es/m/151935568942.1461.14623890240535309745@wrigleys.postgresql.org

Branch
------
REL_10_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/cf39aebf17c571456c9dbcc06d3569a98e2fcecc

Modified Files
--------------
src/include/pg_config.h.win32 | 16 ++++++++++++++--
1 file changed, 14 insertions(+), 2 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Robert Haas 2018-05-18 20:12:34 pgsql: Further adjust comment in get_partition_dispatch_recurse.
Previous Message Tom Lane 2018-05-18 16:10:46 pgsql: Small improvement for plpgsql regression test.