while upgrading a cusotmer's PostGIS installation, $SUBJECT was
found to be very helpful - filtering in pg_dump is much less
powerful than editing the dump's TOC and feeding that into
Attached patch adds the -L option (analogous to pg_restore) to
postgis_restore.pl, which makes postgis_restore use the provided
TOC instead of reading it via pg_restore -l.
It's rather trivial, so without further ado: here it is.