Skip to content

PG12: pg_attrdef.adsrc got dropped but is still queried for #138

Description

@scuwe

The EntityFramework data provider for .NET tries to query for the column pg_attrdef.adsrc and pg_constraint.consrc (system catalogue), which yields the following exception in Visual Studio during entity model generation:

Aufgrund der folgenden Ausnahme kann das Modell nicht generiert werden: 'System.Data.Entity.Core.EntityCommandExecutionException: Fehler beim Ausführen der Befehlsdefinition. Weitere Informationen finden Sie in der internen Ausnahme. ---> Npgsql.PostgresException: 42703: column ad.adsrc / pg_constraint.consrc does not exist

Probable reason: the table column pg_attrdef.adsrc & pg_constraint.consrc got dropped in a RC12: https://www.postgresql.org/docs/release/12.0/

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions