pg.ddx.io pgsql-committers@postgresql.org mailing list archive
help / color / mirror / Atom feedpgsql: doc: Explain that ANALYZE ignores reject_limit in file_fdw
5+ messages / 3 participants
[nested] [flat]
* pgsql: doc: Explain that ANALYZE ignores reject_limit in file_fdw
@ 2026-11-11 01:07 Fujii Masao <fujii@postgresql.org>
0 siblings, 1 reply; 5+ messages in thread
From: Fujii Masao @ 2026-11-11 01:07 UTC (permalink / raw)
To: pgsql-committers@lists.postgresql.org
doc: Explain that ANALYZE ignores reject_limit in file_fdw
The documentation did not explain that ANALYZE on file_fdw foreign tables
ignores reject_limit, which could lead users to expect it to fail when
the number of skipped rows exceeded the limit.
Ignoring the limit allows statistics to be collected from valid rows
even when the limit is exceeded. These statistics can still be useful for
queries using LIMIT, for example, which may finish before encountering
enough conversion errors to exceed reject_limit.
Document this exception and its rationale.
Backpatch to v18, where reject_limit support was added to file_fdw.
Author: Ayoub Kazar <ayoub.kazar@data-bene.io>
Reviewed-by: Fujii Masao <masao.fujii@gmail.com>
Discussion: https://postgr.es/m/6cc479df-7571-4393-a572-f46dba1bfcbf@data-bene.io
Backpatch-through: 18
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/0b355d4277e76d6ae691855070e20da703789cea
Modified Files
--------------
contrib/file_fdw/file_fdw.c | 6 +++++-
doc/src/sgml/file-fdw.sgml | 5 ++++-
2 files changed, 9 insertions(+), 2 deletions(-)
^ permalink raw reply [nested|flat] 5+ messages in thread
* pgsql: doc: Explain that ANALYZE ignores reject_limit in file_fdw
@ 2026-11-11 01:08 Fujii Masao <fujii@postgresql.org>
0 siblings, 0 replies; 5+ messages in thread
From: Fujii Masao @ 2026-11-11 01:08 UTC (permalink / raw)
To: pgsql-committers@lists.postgresql.org
doc: Explain that ANALYZE ignores reject_limit in file_fdw
The documentation did not explain that ANALYZE on file_fdw foreign tables
ignores reject_limit, which could lead users to expect it to fail when
the number of skipped rows exceeded the limit.
Ignoring the limit allows statistics to be collected from valid rows
even when the limit is exceeded. These statistics can still be useful for
queries using LIMIT, for example, which may finish before encountering
enough conversion errors to exceed reject_limit.
Document this exception and its rationale.
Backpatch to v18, where reject_limit support was added to file_fdw.
Author: Ayoub Kazar <ayoub.kazar@data-bene.io>
Reviewed-by: Fujii Masao <masao.fujii@gmail.com>
Discussion: https://postgr.es/m/6cc479df-7571-4393-a572-f46dba1bfcbf@data-bene.io
Backpatch-through: 18
Branch
------
REL_19_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/cb88c3204a3b94832dea72be99815a4a26251a3c
Modified Files
--------------
contrib/file_fdw/file_fdw.c | 6 +++++-
doc/src/sgml/file-fdw.sgml | 5 ++++-
2 files changed, 9 insertions(+), 2 deletions(-)
^ permalink raw reply [nested|flat] 5+ messages in thread
* pgsql: doc: Explain that ANALYZE ignores reject_limit in file_fdw
@ 2026-11-11 01:08 Fujii Masao <fujii@postgresql.org>
0 siblings, 0 replies; 5+ messages in thread
From: Fujii Masao @ 2026-11-11 01:08 UTC (permalink / raw)
To: pgsql-committers@lists.postgresql.org
doc: Explain that ANALYZE ignores reject_limit in file_fdw
The documentation did not explain that ANALYZE on file_fdw foreign tables
ignores reject_limit, which could lead users to expect it to fail when
the number of skipped rows exceeded the limit.
Ignoring the limit allows statistics to be collected from valid rows
even when the limit is exceeded. These statistics can still be useful for
queries using LIMIT, for example, which may finish before encountering
enough conversion errors to exceed reject_limit.
Document this exception and its rationale.
Backpatch to v18, where reject_limit support was added to file_fdw.
Author: Ayoub Kazar <ayoub.kazar@data-bene.io>
Reviewed-by: Fujii Masao <masao.fujii@gmail.com>
Discussion: https://postgr.es/m/6cc479df-7571-4393-a572-f46dba1bfcbf@data-bene.io
Backpatch-through: 18
Branch
------
REL_18_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/7eac6c699a3ff1c53448e751d8eed1819d62df09
Modified Files
--------------
contrib/file_fdw/file_fdw.c | 6 +++++-
doc/src/sgml/file-fdw.sgml | 5 ++++-
2 files changed, 9 insertions(+), 2 deletions(-)
^ permalink raw reply [nested|flat] 5+ messages in thread
* Re: pgsql: doc: Explain that ANALYZE ignores reject_limit in file_fdw
@ 2026-11-11 07:12 Richard Guo <guofenglinux@gmail.com>
parent: Fujii Masao <fujii@postgresql.org>
0 siblings, 1 reply; 5+ messages in thread
From: Richard Guo @ 2026-11-11 07:12 UTC (permalink / raw)
To: Fujii Masao <fujii@postgresql.org>; +Cc: pgsql-committers@lists.postgresql.org
On Wed, Nov 11, 2026 at 10:07 AM Fujii Masao <fujii@postgresql.org> wrote:
> doc: Explain that ANALYZE ignores reject_limit in file_fdw
This commit needs a pgindent.
- Richard
^ permalink raw reply [nested|flat] 5+ messages in thread
* Re: pgsql: doc: Explain that ANALYZE ignores reject_limit in file_fdw
@ 2026-11-11 07:38 Fujii Masao <masao.fujii@gmail.com>
parent: Richard Guo <guofenglinux@gmail.com>
0 siblings, 0 replies; 5+ messages in thread
From: Fujii Masao @ 2026-11-11 07:38 UTC (permalink / raw)
To: Richard Guo <guofenglinux@gmail.com>; +Cc: Fujii Masao <fujii@postgresql.org>; pgsql-committers@lists.postgresql.org
On Wed, Nov 11, 2026 at 4:13 PM Richard Guo <guofenglinux@gmail.com> wrote:
> This commit needs a pgindent.
Many thanks! I've pushed the fix.
Regards,
--
Fujii Masao
^ permalink raw reply [nested|flat] 5+ messages in thread
end of thread, other threads:[~2026-11-11 07:38 UTC | newest]
Thread overview: 5+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2026-11-11 01:07 pgsql: doc: Explain that ANALYZE ignores reject_limit in file_fdw Fujii Masao <fujii@postgresql.org>
2026-11-11 07:12 ` Richard Guo <guofenglinux@gmail.com>
2026-11-11 07:38 ` Fujii Masao <masao.fujii@gmail.com>
2026-11-11 01:08 pgsql: doc: Explain that ANALYZE ignores reject_limit in file_fdw Fujii Masao <fujii@postgresql.org>
2026-11-11 01:08 pgsql: doc: Explain that ANALYZE ignores reject_limit in file_fdw Fujii Masao <fujii@postgresql.org>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox