Peter Geoghegan <pg(at)bowt(dot)ie> writes:> Something like the attached seems like it'd do the job.
Needs to be conditional on the source version, but otherwisethis seems to work. Pushed.
regards, tom lane