Skip to content

Better dependency tracking for non-sql functions #129

Open
@ewan-escience

Description

@ewan-escience

When trying out this product with the plan command, the program errors, because it seems to do some live validation of the plan. If I understand correctly what is happening, this generates errors because:

  1. some of the function are written in plpgsql, for which the program doesn't check its dependencies
  2. those functions seem to be created in alphabetical order, so some functions are created before their dependencies

One of the following would solve this:

  1. add flag is added that sets check_function_bodies = off before doing the validation
  2. add support for dependency checking of plpgsql functions
  3. don't validate the plan when the plan was created from two live databases (i.e. with both --dsn and --schema-source-dsn)

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