pgschema
pgschema copied to clipboard
ignore views seems broken
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.
[views] patterhs = [ "batch_stack_v" ]
This is a typo in patterhs