Re: support for MERGE - Mailing list pgsql-hackers

From Daniel Westermann
Subject Re: support for MERGE
Date
Msg-id 163681163886.16424.12786255003296837146.pgcf@coridan.postgresql.org
Whole thread Raw
In response to Re: support for MERGE  (Zhihong Yu <zyu@yugabyte.com>)
Responses Re: support for MERGE
List pgsql-hackers
Hi,

I got these warnings when compiling against current head:

tion -Wno-stringop-truncation -O2 -I../../../src/include  -D_GNU_SOURCE -I/usr/include/libxml2   -c -o execMerge.o
execMerge.c
execMerge.c: In function ‘ExecMerge’:
execMerge.c:54:8: warning: unused variable ‘relkind’ [-Wunused-variable]
   54 |  char  relkind = resultRelInfo->ri_RelationDesc->rd_rel->relkind;
      |        ^~~~~~~

/usr/bin/clang -Wno-ignored-attributes -fno-strict-aliasing -fwrapv -O2  -I../../../src/include  -D_GNU_SOURCE
-I/usr/include/libxml2 -flto=thin -emit-llvm -c -o execMerge.bc execMerge.c
 
execMerge.c:552:32: warning: if statement has empty body [-Wempty-body]
                                        RELKIND_PARTITIONED_TABLE);
                                                                  ^
execMerge.c:552:32: note: put the semicolon on a separate line to silence this warning
1 warning generated.


Regards
Daniel

pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: Invalid Unicode escape value at or near "\u0000"
Next
From: Bharath Rupireddy
Date:
Subject: Re: add recovery, backup, archive, streaming etc. activity messages to server logs along with ps display