On Wed, Aug 9, 2017 at 9:25 PM, Alvaro Herrera <alvhe...@2ndquadrant.com> wrote: > Tom Lane wrote: >> I think generating whatever we can from a single authoritative file >> is indeed a good idea. > > Yay.
Indeed. >> But I had the impression that people also wanted to enforce a rule >> about "only one use of each wait event name", which'd require a >> checker script, no? (I'm not really convinced that we need such a >> rule, fwiw.) > > I'm not convinced of that, either. Of the possible problems in the > area, that seems the lesser one. With a minimal maintenance effort we can be careful enough. I think that a comment for example in pgstat.c about the usage uniqueness would be an adapted answer. -- Michael -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers