Daniel Verite wrote:
> I seems to me that pg_dump does it for you anyway, unless you ask
> otherwise. See the -o option.
>
>
No, as I understand it this does not influence whether or not the table
is recreated with OIDs, it determines whether the _values_ of the OIDs
are included in the dumped data. Without this option, new OIDs are
created on restore - not good if you expect them to remain unchanged
(foreign key or whatever).
Cheers,
Steve