From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: Fix build failure on MSVC. |
Date: | 2018-03-01 18:27:50 |
Message-ID: | E1erSvm-000244-9C@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
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(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2018-03-01 20:35:15 | pgsql: Fix IOS planning when only some index columns can return an attr |
Previous Message | Tom Lane | 2018-03-01 17:03:34 | pgsql: Remove out-of-date comment about formrdesc(). |