pgcopydb
pgcopydb copied to clipboard
Can I exclude group of tables by regex?
Hi, can I exclude group of tables in filters with some regex? Seems it's not working in both options:
[exclude-table]
public."sometable1_%"
public."sometable2_*"
As a test I used next:
pgcopydb list tables --source "$SOURCE" --filter /src/filter --list-skipped
Not supported at the moment. I'm not sure we should implement that, though we could certainly make use of the Postgres operator for regexp comparing. Contributions accepted!