Rod Taylor <rbt@rbt.ca> writes:
> Rather than running ANALYZE, how about simply dumping out and restoring
> current statistics?
Nope. That would assume that the stats are the same across revisions.
Not to mention requiring superuser privileges.
regards, tom lane