Re: unused_oids script is broken with bsd sed
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Cc: Robert Haas <robertmhaas@gmail.com>, John Naylor <jcnaylor@gmail.com>,
Stas Kelvich <s.kelvich@postgrespro.ru>,
Andreas Karlsson <andreas@proxel.se>,
Andrew Dunstan <andrew.dunstan@2ndquadrant.com>,
PostgreSQL Hackers <pgsql-hackers@postgresql.org>,
David Fetter <david@fetter.org>
Date: 2018-05-04T02:42:41Z
Lists: pgsql-hackers
Peter Eisentraut <peter.eisentraut@2ndquadrant.com> writes: > On 5/3/18 15:37, Tom Lane wrote: >> I took a quick look into this. It's very easy to do so far as the Perl >> code is concerned: > I think in order to introduce warts like that, we have to have really > great savings. I haven't seen any actual analysis what the current > problem is, other than one person expression a suspicion. Well, the work's already done, and personally I think the code is cleaner after 9bf28f96c and bad51a49a regardless of whether there's any performance benefit. You could call 1f1cd9b5d a wart if you wanted. But we've done largely the same thing to pgindent, for one, in the past year or so, and I find that to be a usability improvement, independently of whether there's any build performance win. My editor gets cranky when files change under it for no reason. regards, tom lane
Commits
-
Blindly try to fix MSVC build's use of genbki.pl and Gen_fmgrtab.pl.
- bad51a49a4c0 11.0 landed
-
Avoid overwriting unchanged output files in genbki.pl and Gen_fmgrtab.pl.
- 1f1cd9b5ddc6 11.0 landed
-
Rearrange makefile rules for running Gen_fmgrtab.pl.
- 9bf28f96c7eb 11.0 landed
-
Avoid parsing catalog data twice during BKI file construction.
- a0854f10722b 11.0 landed
-
Fix duplicate_oids and unused_oids so user needn't cd to catalog dir.
- dd4cc9d7069c 11.0 landed
-
Convert unused_oids and duplicate_oids to use Catalog.pm infrastructure.
- 5602265f770f 11.0 landed
-
Make Catalog.pm's representation of toast and index decls more abstract.
- 1eb3a09e93d2 11.0 landed