Fix oversight in commit aa1f93a33.
Etsuro Fujita <efujita@postgresql.org>
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 <li.evan.chao@gmail.com> Reviewed-by: Etsuro Fujita <etsuro.fujita@gmail.com> Discussion: https://postgr.es/m/81D981EB-ECC1-495D-8EAC-5CFB67B2CF77%40gmail.com
Files
| Path | Change | +/− |
|---|---|---|
| contrib/postgres_fdw/postgres_fdw.c | modified | +1 −1 |
Discussion
- postgres_fdw: possible overlooked NAMEDATALEN comparison in stats import 4 messages · 2026-06-11 → 2026-06-14