Issue migrated from Redmine: https://redmine.postgresql.org/issues/2397
Originally created by Maxim Zakharov at 2017-05-12 03:57:49 UTC.
The following error is shown when one tries to create an Unique Constraint for a table:
pgAdmin III
An error has occurred:
ERROR: column "amgettuple" does not exist
LINE 1: ..._am WHERE EXISTS (SELECT 1 FROM pg_proc WHERE oid=amgettuple...
^
OK
The same for new Primary Key index creation, see http://stackoverflow.com/questions/40904102/trying-to-set-constraint-new-primary-key-in-table-but-getting-an-error-colum
The patch attached solves this issue