Compilation broken when OPTIMIZER_DEBUG is set

From: salvador fandino <sfandino(at)gmail(dot)com>
To: pgsql-hackers(at)postgresql(dot)org, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Subject: Compilation broken when OPTIMIZER_DEBUG is set
Date: 2016-02-29 11:44:38
Message-ID: CAA2CF7WR29azzq02RL-TE2b0XmLZmAF-a3FPi2t4moVqmB8+=w@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

gcc -Wall -Wmissing-prototypes -Wpointer-arith
-Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute
-Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard
-g -O0 -DOPTIMIZER_DEBUG -I../../../../src/include -D_GNU_SOURCE -c -o
allpaths.o allpaths.c
allpaths.c: In function ‘debug_print_rel’:
allpaths.c:2943:50: error: ‘RelOptInfo {aka struct RelOptInfo}’ has no
member named ‘width’
printf("): rows=%.0f width=%d\n", rel->rows, rel->width);
^

git bisect points to commit 19a541143a09c067ec8cac77ec6a64eb5b1b662b "Add
an explicit representation of the output targetlist to Paths."

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Alexander Korotkov 2016-02-29 11:48:25 Re: Move PinBuffer and UnpinBuffer to atomics
Previous Message Valery Popov 2016-02-29 11:43:11 Re: [REVIEW]: Password identifiers, protocol aging and SCRAM protocol