agora inbox for pgsql-committers@postgresql.org  
help / color / mirror / Atom feed
From: Etsuro Fujita <efujita@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fix oversight in commit aa1f93a33.
Date: Sun, 14 Jun 2026 07:04:49 +0000
Message-ID: <E1wYetk-000FNA-3C@gemulon.postgresql.org> (raw)

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

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(-)



Message-ID: <E1wYetk-000FNA-3C@gemulon.postgresql.org>
Permalink:  ../E1wYetk-000FNA-3C@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1wYetk-000FNA-3C@gemulon.postgresql.org

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: efujita@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Fix oversight in commit aa1f93a33.
  In-Reply-To: <E1wYetk-000FNA-3C@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox