<div dir="ltr"><div><div>Hi guys... <br><br></div>I need to recompile a pgpool to use with a custom build of Postgresql96 that had been compiled with NAMEDATALEN 128. So I'm preparing patches to official pgpool src.rpm to adapt it <br></div><div>respectively. I've grepped all definitions of NAMEDATALEN in pgpool source code. <br><br>> grep -Frn NAMEDATALEN | grep -F '#define'<br>src/include/parser/pool_parser.h:41:#define NAMEDATALEN 64<br>src/include/parser/pg_config_manual.h:56:#define NAMEDATALEN 64<br>src/include/pcp/libpcp_ext.h:52:#define NAMEDATALEN 64<br>src/include/pool.h:60:#define NAMEDATALEN 64<br>src/include/utils/pool_select_walker.h:35:#define POOL_NAMEDATALEN 64           /* from NAMEDATALEN of PostgreSQL */<br>src/libs/pcp/pcp.c:1997:#define LINELEN NAMEDATALEN*5<br></div><div><br></div><div>I've been intending to replace all values of 64 with 128. But right now I am in doubt: <br>Is this the right approach? Do I really have to update all this defines? <br>Maybe I need to make other changes that are not so obvious? <br></div><div><div><br></div><div>Thanks for any advice.<br></div><div><br clear="all"><div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>BR</div><div>Igor Yurchenko<br></div></div></div></div></div></div></div></div>