sraoss / pgsql-ivm

IVM (Incremental View Maintenance) development for PostgreSQL
Other
129 stars 12 forks source link

An error occurs when making after configure with --enable-cassert option. #93

Closed nuko-yokohama closed 3 years ago

nuko-yokohama commented 4 years ago

An error occurs when making after configure with --enable-cassert option. (commit = 933d8072f8de8cf9fc766f8f331f09ebeec67bd0) If no --enable-cassert option is given, make will succeed.

error log.

In file included from ../../../src/include/postgres.h:46:0,
                 from matview.c:15:
matview.c: In function ‘apply_old_delta_with_count’:
matview.c:3479:9: error: ‘tuptable_recalce’ undeclared (first use in this function); did you mean ‘tuptable_recalc’?
  Assert(tuptable_recalce != NULL);
         ^
../../../src/include/c.h:782:9: note: in definition of macro ‘Assert’
   if (!(condition)) \
         ^~~~~~~~~
matview.c:3479:9: note: each undeclared identifier is reported only once for each function it appears in
  Assert(tuptable_recalce != NULL);
         ^
../../../src/include/c.h:782:9: note: in definition of macro ‘Assert’
   if (!(condition)) \
         ^~~~~~~~~
make[3]: *** [matview.o] Error 1
make[2]: *** [commands-recursive] Error 2
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [all-backend-recurse] Error 2
make: *** [all-src-recurse] Error 2
yugo-n commented 4 years ago

Thank you for your reporting this! I have fixed this.