Skip to content

dump takes some extension objects #595

Description

@xpusostomos

We are using the extension pg_stat_statements. This extension creates various objects in your schema, like a function called pg_stat_statements and a view called pg_stat_statements.

pgschema dumps the view, but not the function which causes it to fail. (That in itself is odd, is it getting confused between the view and the function and dumping only one?) In any case, it shouldn't dump either one. There is way to interrogate the pg catalog to find out which objects are owned by an extension. something like when pg_depend.deptype = 'e'. Those objects should be left alone.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions