Fix oversight in commit aa1f93a33. Since the remote column names of a foreign table could be longer than NAMEDATALEN, remattrmap_cmp(), which compares such column names, should have used strcmp(), not strncmp() with n=NAMEDATALEN.
Author: Chao Li <[email protected]> Reviewed-by: Etsuro Fujita <[email protected]> Discussion: https://postgr.es/m/81D981EB-ECC1-495D-8EAC-5CFB67B2CF77%40gmail.com Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/0131e8fc508ff8e10a6797bfe8043a0b9d34b30b Modified Files -------------- contrib/postgres_fdw/postgres_fdw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
