From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@postgresql.org
Subject: pgsql: Fix build failure on MSVC.
Date: Thu, 01 Mar 2018 18:27:50 +0000
Message-ID: <E1erSvm-000244-9C@gemulon.postgresql.org> (raw)
Fix build failure on MSVC.
Commit 824cceded introduced use of pg_malloc and pg_realloc into
specscanner.l, but it isn't working in 9.3 on MSVC. Evidently we
added the infrastructure for that in 9.4. Since the chance of an
actual OOM here is tiny, and the consequences would only be an
isolation test failure, and we have unchecked OOM hazards elsewhere
in this file in 9.3, it's not worth sweating over. Just replace
the calls with malloc and realloc.
Per buildfarm.
Branch
------
REL9_3_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/f0fb93a266f4e80bd5236f4725025565f237285b
Modified Files
--------------
src/test/isolation/specscanner.l | 4 ++--
1 file 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: tgl@sss.pgh.pa.us
Subject: Re: pgsql: Fix build failure on MSVC.
In-Reply-To: <E1erSvm-000244-9C@gemulon.postgresql.org>
References: <E1erSvm-000244-9C@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