fix for psql's \dd version check - Mailing list pgsql-hackers

From Josh Kupershmidt
Subject fix for psql's \dd version check
Date
Msg-id CAK3UJRFtfn4H9nFL1W0KFoCaEYL-QBJpVO5kJegyNMZmxKSPsw@mail.gmail.com
Whole thread Raw
Responses Re: fix for psql's \dd version check
List pgsql-hackers
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

Attachment

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Allow substitute allocators for PGresult.
Next
From: Thom Brown
Date:
Subject: Re: [GENERAL] VACUUM touching file but not updating relation