Re: pgsql: Try to fix compiler warnings.

2021-03-12 Thread er
> On 2021.03.12. 20:36 Robert Haas wrote: > > > Try to fix compiler warnings. > > Per report from Peter Geoghegan. I had the same errors Peter reported. gcc 10.2 on debian. The compile stops with: In file included from ../../../src/include/postgres_fe.h:25, from pg_amche

Re: pgsql: Refactor attribute mappings used in logical tuple conversion

2019-12-17 Thread er
On 2019-12-18 08:25, Michael Paquier wrote: Refactor attribute mappings used in logical tuple conversion gcc (9.2.0) mutters this: tupconvert.c: In function ‘execute_attr_map_tuple’: tupconvert.c:146:8: warning: unused variable ‘outnatts’ [-Wunused-variable] 146 | int outnatts = map->o