Hi Tom, thanks for your reply. On 23-Jun-06, at 11:17 AM, Tom Lane wrote:
So just to clarify, the table's OID itself will never be preserved, but the data inside the table will? Does each row have it's own OID? Pardon my n00b-ness on this question...
What I have done for the time being is created a script to be done that executes after every restore of the database that enters into pg_autovacuum based on the table name. For example: INSERT INTO pg_autovacuum (vacrelid, enabled, vac_base_thresh, vac_scale_factor, anl_base_thresh, anl_scale_factor, vac_cost_delay, vac_cost_limit) VALUES ((select oid from pg_class where relname = 'tablename'), true, 500, 0.1, 200, 0.05, -1, -1); This will work for now. It would be nice to have the vacrelid stay the same for each restore as the app we are currently using PostgreSQL with allows a script to be run before the dump is restored. I will just have to alter it to be run after the dump is restored. Thanks! -- Dylan Hansen Enterprise Systems Developer |
- [GENERAL] pg_dump With OIDs Supported? Dylan Hansen
- Re: [GENERAL] pg_dump With OIDs Supported? Tom Lane
- Re: [GENERAL] pg_dump With OIDs Supported? Dylan Hansen