Re: pgsql: Remove unused wait events. - Mailing list pgsql-hackers

From Tom Lane
Subject Re: pgsql: Remove unused wait events.
Date
Msg-id 4052153.1635183584@sss.pgh.pa.us
Whole thread Raw
In response to Re: pgsql: Remove unused wait events.  (Daniel Gustafsson <daniel@yesql.se>)
Responses Re: pgsql: Remove unused wait events.  (Andres Freund <andres@anarazel.de>)
List pgsql-hackers
Daniel Gustafsson <daniel@yesql.se> writes:
> Since this will cause integer values to have different textual enum value
> representations in 14 and 15+, do we want to skip two numbers by assigning the
> next wait event the integer value of WAIT_EVENT_WAL_WRITE incremented by three?
> Or enum integer reuse not something we guarantee against across major versions?

We require a recompile across major versions.  I don't see a reason why
this particular enum needs more stability than any other one.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Daniel Gustafsson
Date:
Subject: Re: pgsql: Remove unused wait events.
Next
From: Stephen Frost
Date:
Subject: Re: Predefined role pg_maintenance for VACUUM, ANALYZE, CHECKPOINT.