I also cannot see the workaround parch in the code.
Do I have to do something to mo e this fix forward?
I think we agreed that this bug braked logical decoding or I am wrong ?
Peter Slavov
На пт, 27.04.2018 г. в 3:22 ч. Michael Paquier <michael@paquier.xyz> написа:
On Fri, Apr 27, 2018 at 12:26:52AM +0200, Петър Славов wrote: > I tried to compile this and i had this error: > > proto.c: In function ‘logicalrep_write_attrs’: > proto.c:565:17: error: ‘FormData_pg_index {aka struct FormData_pg_index}’ > has no member named ‘indnkeyatts’ > natts = index->indnkeyatts;
The patch Alvaro has sent is made for the master branch, and you are visibly using a build of REL_10_STABLE. Ths conflict you are seeing comes from 8224de4 which introduced Covering indexes, and renamed indnatts to indnkeyatts in Form_pg_index. -- Michael