Remove psql support for server versions preceding 9.2.
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 16 Dec 2021 19:02:28 +0000 (14:02 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 16 Dec 2021 19:02:28 +0000 (14:02 -0500)
commitcf0cab868aa4758b7eec5f9412f2ec74acda7f45
tree08134fff4f15b4609259765407e391e671bdd1bb
parentc49d926833fa6a987e3f9a66027f4a01d7a008be
Remove psql support for server versions preceding 9.2.

Per discussion, we'll limit support for old servers to those branches
that can still be built easily on modern platforms, which as of now
is 9.2 and up.

Aside from removing code that is dead per the assumption of
server >= 9.2, I tweaked the startup warning for unsupported versions
to complain about too-old servers as well as too-new ones.  The
warning that "Some psql features might not work" applies precisely
to both cases.

Discussion: https://postgr.es/m/2923349.1634942313@sss.pgh.pa.us
src/bin/psql/command.c
src/bin/psql/common.c
src/bin/psql/describe.c
src/bin/psql/large_obj.c
src/bin/psql/tab-complete.c