| From: | Fujii Masao <masao(dot)fujii(at)gmail(dot)com> |
|---|---|
| To: | Etsuro Fujita <etsuro(dot)fujita(at)gmail(dot)com> |
| Cc: | Corey Huinker <corey(dot)huinker(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
| Subject: | Re: Several issues with postgres_fdw stats import |
| Date: | 2026-09-15 08:52:32 |
| Message-ID: | CAHGQGwGvA_3q7Wg7GXQkuugGZj3=kxDRjDsKgVvK1uwAxHTopQ@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
On Mon, Sep 14, 2026 at 8:12 PM Etsuro Fujita <etsuro(dot)fujita(at)gmail(dot)com> wrote:
> Pushed/backpatched.
Thanks for working on this issue!
When I used v11 as the remote server, stats import via postgres_fdw
resulted in the following error. I think this should be addressed as well.
ERROR: collations are not supported by type name
CONTEXT: remote SQL command: SELECT DISTINCT ON (attname COLLATE "C")
attname, null_frac, avg_width, n_distinct, most_common_vals,
most_common_freqs, histogram_bounds, correlation, most_common_elems,
most_common_elem_freqs, elem_count_histogram, NULL, NULL, NULL FROM
pg_catalog.pg_stats WHERE schemaname = 'public' AND tablename = 't'
AND attname = ANY(ARRAY['i', 'j']) ORDER BY attname COLLATE "C",
inherited DESC
Regards,
--
Fujii Masao
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Nikolay Samokhvalov | 2026-09-15 09:00:18 | Re: PG19: two RI fast-path issues found while testing the batching revert |
| Previous Message | Alexandre Felipe | 2026-09-15 08:47:17 | Re: FIX: BUG #19687: ALTER SEQUENCE missing lock |