Skip to content

ignore views seems broken #594

Description

@xpusostomos

Using current pgschema git as of today... ignore views seems broken..

I have this in my .pgschemaignore...

[schemas]
patterns = [
    "audit",
    "loader"
]

[triggers]
patterns = [
   "audit_trigger_row",
   "audit_trigger_stm"
]
            
[views]
patterhs = [
    "batch_stack_v"
]

so it should ignore and not dump batch_stack_v, but the dump has this:

-- Name: batch_stack_v; Type: VIEW; Schema: -; Owner: -
--
    
CREATE OR REPLACE VIEW batch_stack_v AS
 SELECT subq.display_as,
    subq.id,

and then it fails because the view refers to something in another schema. pg_dump is as given before, say the word and I can give it again. I suspect you may need to keep that around for more bug reports.

BTW, hope the split ordering will get fixed soon.

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