Обсуждение: pgsql: Throw nice error if server is too old to support psql's \ef or \

Поиск
Список
Период
Сортировка

pgsql: Throw nice error if server is too old to support psql's \ef or \

От
Tom Lane
Дата:
Throw nice error if server is too old to support psql's \ef or \sf command.

Previously, you'd get "function pg_catalog.pg_get_functiondef(integer) does
not exist", which is at best rather unprofessional-looking.  Back-patch
to 8.4 where \ef was introduced.

Josh Kupershmidt

Branch
------
REL8_4_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/2463f5da3ccd67b266ee7a9b8c0906221a501b9e

Modified Files
--------------
src/bin/psql/command.c |    8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)