pgsql: postgres_fdw: Update some comments in functions for statistics i

From: Etsuro Fujita <efujita(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: postgres_fdw: Update some comments in functions for statistics i
Date: 2026-11-12 02:18:08
Message-ID: E1xRKO8-00000000NrF-13Mi@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

postgres_fdw: Update some comments in functions for statistics import.

* Fix a typo in a comment in match_attrmap(): s/attname/remote_attname/
* Add a comment about using a NullableDatum array in
import_fetched_statistics().
* Tweak the comments for each of the two functions.

Follow-up to commits 28972b6fc and 54cd6fc83.

Author: Etsuro Fujita <etsuro(dot)fujita(at)gmail(dot)com>
Reviewed-by: Chao Li <lic(at)highgo(dot)com>
Discussion: https://postgr.es/m/CAPmGK17d%3DUz-_teKwZdJN8T644QQyzEq%3DpUuf9gc%2Bc2Hp3x6%2Bw%40mail.gmail.com
Backpatch-through: 19

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/debfb3c8a8c93e7bcc3638523b7ffc0846cc2db8

Modified Files
--------------
contrib/postgres_fdw/postgres_fdw.c | 20 +++++++++++++-------
1 file changed, 13 insertions(+), 7 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message shihao zhong 2026-11-12 04:36:50 Re: pgsql: Don't trust NOT NULL on virtual generated columns of partitioned
Previous Message Michael Paquier 2026-11-12 00:54:22 pgsql: Allow empty arrays of values in pg_restore_attribute_stats()