Remove psql support for pre-v10 servers.

Nathan Bossart <nathan@postgresql.org>

Commit: 831bec45924a80cccf20cec7cf4c941874eb96c8
Author: Nathan Bossart <nathan@postgresql.org>
Date: 2026-07-02T18:05:50Z
Releases: master
Remove psql support for 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).

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 <masao.fujii@gmail.com>
Discussion: https://postgr.es/m/adZ4j88Dq9r8y9_9%40nathan

Files

PathChange+/−
doc/src/sgml/ref/psql-ref.sgml modified +1 −1
src/bin/psql/command.c modified +4 −19
src/bin/psql/describe.c modified +6 −238
src/bin/psql/tab-complete.in.c modified +16 −30

Documentation touched

Discussion