Skip to content
This repository was archived by the owner on Sep 15, 2022. It is now read-only.
This repository was archived by the owner on Sep 15, 2022. It is now read-only.

Can not create new primary key or unique constaraint with PgSQL 9.6 (RM #2397) #413

@dpage

Description

@dpage

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions