On 04/25/2018 06:22 AM, Stas Kelvich wrote: > Hi. > > BSD sed in macOS doesn't understand word boundary operator "\b". So after > 372728b0d49 unused_oids doesn’t match all oids in new *.dat files marking > all of them as unused. > > It is possible to write more portable regexps, e.g. change "\b" to > something like "^.*{*.*", but it seems easier for feature use to just > rewrite unused_oids in perl to match duplicate_oids. Also add in-place > complain about duplicates instead of running uniq through oids array. >
+many for rewriting in perl. Do you want to have a go at that? If not I will. cheers andrew -- Andrew Dunstan https://www.2ndQuadrant.com PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services