]> granicus.if.org Git - postgresql/commit
Throw nice error if server is too old to support psql's \ef or \sf command.
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 10 Nov 2011 23:37:00 +0000 (18:37 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 10 Nov 2011 23:37:00 +0000 (18:37 -0500)
commitc49130ade4dac5d8dff724cf15b0f0cdb9cf7d24
treec83d276862aad9e64f443b89e7f2b6afed622b4a
parent019d45e13910a03fbd2f71293175b4ce09dcf0a7
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
src/bin/psql/command.c