fix for psql's \dd version check
Josh Kupershmidt <schmiddy@gmail.com>
From: Josh Kupershmidt <schmiddy@gmail.com>
To: pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2011-11-11T23:59:39Z
Lists: pgsql-hackers
Attachments
- dd_opfamily_version_check.diff (application/octet-stream) patch
Someone (me) didn't get the version check for part of psql's \dd command quite right. I was using a 9.2 client on a 9.1 server and got this when I ran \dd: ERROR: function pg_catalog.pg_opfamily_is_visible(oid) does not exist LINE 33: AND pg_catalog.pg_opfamily_is_visible(opf.oid) since pg_opfamily_is_visible() is only available for 9.2 and up. Attached is a simple fix. Josh