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

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Throw nice error if server is too old to support psql's \ef or \
Дата
Msg-id E1ROeBg-0002U7-UW@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
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
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/6f3dc00e24aa2a8e7e2c5e5095b6223712b8204c

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


В списке pgsql-committers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Throw nice error if server is too old to support psql's \ef or \
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Throw nice error if server is too old to support psql's \ef or \