> You know, up until this message I had the mistaken impression that
> pg_upgrade was a C program... Boy was I wrong. And no wonder it's
> hairy. I should have read the source first -- but nooo, I couldn't do
> that. Open mouth, insert foot.
Yes, a quick few hour hack to do a quick upgrade. Worked better than I
thought it would.
> I _am_ contemplating a C version that would do far more than just
> upgrades. I'm thinking of a pg_repair utility that could rebuild and
> repair the on-disk structures. It would also facilitate database
> recovery after a crash -- might be a real bear to do right. Comments?
A bear.
-- Bruce Momjian | http://www.op.net/~candle maillist@candle.pha.pa.us | (610)
853-3000+ If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill,
Pennsylvania19026