Fix dblink to treat connection names longer than NAMEDATALEN-2 (62 bytes). Now long names are adjusted with truncate_identifier() and NOTICE messages are raised if names are actually truncated.
Fix dblink to treat connection names longer than NAMEDATALEN-2 (62 bytes).
Now long names are adjusted with truncate_identifier() and NOTICE messages
are raised if names are actually truncated.

Backported to release 8.0.

cjcjameson/gpdb,chrishajas/gpdb,rvs/gpdb,jmcatamney/gpdb,lintzc/gpdb,lisakowen/gpdb,janebeckman/gpdb,kaknikhil/gpdb,edespino/gpdb,CraigHarris/gpdb,kaknikhil/gpdb,chrishajas/gpdb,yuanzhao/gpdb,ahachete/gpdb,CraigHarris/gpdb,greenplum-db/gpdb,kaknikhil/gpdb,CraigHarris/gpdb,50wu/gpdb,cjcjameson/gpdb,Chibin/gpdb,cjcjameson/gpdb,chrishajas/gpdb,xinzweb/gpdb,ahachete/gpdb,jmcatamney/gpdb,lisakowen/gpdb,ashwinstar/gpdb,0x0FFF/gpdb,edespino/gpdb,zaksoup/gpdb,royc1/gpdb,lintzc/gpdb,royc1/gpdb,ahachete/gpdb,Chibin/gpdb,0x0FFF/gpdb,ashwinstar/gpdb,ashwinstar/gpdb,chrishajas/gpdb,chrishajas/gpdb,zaksoup/gpdb,Chibin/gpdb,janebeckman/gpdb,chrishajas/gpdb,xuegang/gpdb,xinzweb/gpdb,greenplum-db/gpdb,royc1/gpdb,Quikling/gpdb,janebeckman/gpdb,cjcjameson/gpdb,jmcatamney/gpdb,CraigHarris/gpdb,janebeckman/gpdb,xuegang/gpdb,ahachete/gpdb,rvs/gpdb,greenplum-db/gpdb,adam8157/gpdb,rvs/gpdb,janebeckman/gpdb,xinzweb/gpdb,50wu/gpdb,yuanzhao/gpdb,greenplum-db/gpdb,chrishajas/gpdb,xuegang/gpdb,adam8157/gpdb,lisakowen/gpdb,Quikling/gpdb,cjcjameson/gpdb,rvs/gpdb,xinzweb/gpdb,yuanzhao/gpdb,Chibin/gpdb,xuegang/gpdb,zaksoup/gpdb,CraigHarris/gpdb,0x0FFF/gpdb,0x0FFF/gpdb,50wu/gpdb,lisakowen/gpdb,royc1/gpdb,royc1/gpdb,lisakowen/gpdb,xuegang/gpdb,lintzc/gpdb,lintzc/gpdb,rvs/gpdb,jmcatamney/gpdb,zaksoup/gpdb,lisakowen/gpdb,lintzc/gpdb,Chibin/gpdb,kaknikhil/gpdb,CraigHarris/gpdb,edespino/gpdb,kaknikhil/gpdb,rvs/gpdb,Chibin/gpdb,0x0FFF/gpdb,xinzweb/gpdb,Quikling/gpdb,kaknikhil/gpdb,zaksoup/gpdb,Chibin/gpdb,xinzweb/gpdb,edespino/gpdb,lisakowen/gpdb,kaknikhil/gpdb,cjcjameson/gpdb,greenplum-db/gpdb,greenplum-db/gpdb,lintzc/gpdb,greenplum-db/gpdb,adam8157/gpdb,Quikling/gpdb,royc1/gpdb,CraigHarris/gpdb,Quikling/gpdb,0x0FFF/gpdb,jmcatamney/gpdb,cjcjameson/gpdb,yuanzhao/gpdb,ashwinstar/gpdb,yuanzhao/gpdb,lisakowen/gpdb,CraigHarris/gpdb,janebeckman/gpdb,yuanzhao/gpdb,ashwinstar/gpdb,yuanzhao/gpdb,rvs/gpdb,janebeckman/gpdb,edespino/gpdb,kaknikhil/gpdb,edespino/gpdb,edespino/gpdb,Quikling/gpdb,0x0FFF/gpdb,cjcjameson/gpdb,xinzweb/gpdb,Quikling/gpdb,adam8157/gpdb,edespino/gpdb,ahachete/gpdb,50wu/gpdb,jmcatamney/gpdb,xuegang/gpdb,adam8157/gpdb,yuanzhao/gpdb,jmcatamney/gpdb,ashwinstar/gpdb,yuanzhao/gpdb,Chibin/gpdb,chrishajas/gpdb,rvs/gpdb,ahachete/gpdb,cjcjameson/gpdb,adam8157/gpdb,50wu/gpdb,edespino/gpdb,jmcatamney/gpdb,xinzweb/gpdb,adam8157/gpdb,greenplum-db/gpdb,kaknikhil/gpdb,Chibin/gpdb,rvs/gpdb,zaksoup/gpdb,Quikling/gpdb,lintzc/gpdb,kaknikhil/gpdb,janebeckman/gpdb,yuanzhao/gpdb,ahachete/gpdb,50wu/gpdb,lintzc/gpdb,janebeckman/gpdb,ashwinstar/gpdb,50wu/gpdb,edespino/gpdb,zaksoup/gpdb,xuegang/gpdb,cjcjameson/gpdb,zaksoup/gpdb,xuegang/gpdb,0x0FFF/gpdb,Quikling/gpdb,50wu/gpdb,ashwinstar/gpdb,CraigHarris/gpdb,lintzc/gpdb,rvs/gpdb,Quikling/gpdb,janebeckman/gpdb,royc1/gpdb,adam8157/gpdb,Chibin/gpdb,ahachete/gpdb,royc1/gpdb,xuegang/gpdb