| From: | Etsuro Fujita <efujita(at)postgresql(dot)org> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: Fix oversight in commit aa1f93a33. |
| Date: | 2026-06-14 07:04:49 |
| Message-ID: | E1wYetk-000FNA-3C@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
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(dot)evan(dot)chao(at)gmail(dot)com>
Reviewed-by: Etsuro Fujita <etsuro(dot)fujita(at)gmail(dot)com>
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(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2026-06-14 15:02:00 | pgsql: Doc: remove stale entry for removed aclitem[] ~ aclitem operator |
| Previous Message | Alexander Korotkov | 2026-06-14 01:14:23 | pgsql: amcheck: Use correct varlena size accessor in bt_normalize_tuple |