Hi,
"pg_restore --help" gives this message for the --no-tablespaces parameter:
--no-tablespaces do not dump tablespace assignments
The message should say "restore" and not "dump". You'll find a patch attached
that fixes this issue.
Thanks.
Regards.
--
Guillaume.
http://www.postgresqlfr.org
http://dalibo.com