Andrew Dunstan <andrew.duns...@2ndquadrant.com> writes: > +many for rewriting in perl. Do you want to have a go at that? If not I > will.
+1 ... I was mildly astonished that this didn't already have to happen as part of the bootstrap data conversion effort. It's certainly not hard to imagine future extensions to the .dat file format that would break this script, and duplicate_oids too. I think we should rewrite both of them to use the Catalog.pm infrastructure. regards, tom lane