Why do you do that? It seems much easier to produce a complete dump, then obtain the --list from it, do "grep -v" of the TABLE DATA element for that table, then give that file to pg_restore. It would restore everything in the right order, including that table's definition, but excluding that table's data.
Can you help me how can I do this?
Here is what I was doing before, which triggered the bug:
If it's not clear, I'd like to restore the original database 1:1, but without the data included in the "events_map" table. I mean the results should be the same as if I'd run truncate after import.