Remove pg_dump/pg_dumpall support for dumping from pre-v10 servers. Per discussion, it seems like a good time to bump the minimum supported version for various applications. Our current policy is to support at least 10 previous major versions, so this bumps the minimum to v10 for the v20 release. For reference, the minimum was last bumped to v9.2 in 2021 for v15 (see commits 30e7c175b8, e469f0aaf3, cf0cab868a, and 492046fa9e). As in previous changes of this sort, we aren't removing pg_restore's ability to read older archive files, though it's fair to wonder how that might be tested nowadays.
For ease of review, and to be able to put the indentation changes in .git-blame-ignore-revs, I did not fix the indentation in this patch. I'll push a separate pgindent commit after these changes are applied. Reviewed-by: Fujii Masao <[email protected]> Discussion: https://postgr.es/m/adZ4j88Dq9r8y9_9%40nathan Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/3a0a30884fd08301f211f064c1433f8148e67c3a Modified Files -------------- doc/src/sgml/ref/pg_dump.sgml | 14 +- doc/src/sgml/runtime.sgml | 2 +- src/bin/pg_dump/connectdb.c | 4 +- src/bin/pg_dump/pg_dump.c | 336 +++--------------------------------------- src/bin/pg_dump/pg_dumpall.c | 28 ---- 5 files changed, 24 insertions(+), 360 deletions(-)
