Hi,
> I am seeing a new gcc 12.2.0 compiler warning from> src/backend/commands/sequence.c:
Yep, the compiler is just not smart enough to derive that thisactually is not going to happen.
Here is a proposed fix.
-- Best regards,Aleksander Alekseev