Fabrice Chapuis <fabrice636...@gmail.com> writes: > When a table is reloaded wit pg_restore, it is recreated without indexes or > constraints. There are automatically skipped. Is there a reason for this?
[ shrug ] That's how the -t switch is defined. If you want something else, you can use the -l and -L switches to pick out a custom collection of objects to restore. regards, tom lane