pgsql: Remove extra increment of plpgsql's statement counter for FOR lo - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Remove extra increment of plpgsql's statement counter for FOR lo
Date
Msg-id E1l71Sp-0001IO-5X@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Remove extra increment of plpgsql's statement counter for FOR loops.

This left gaps in the internal statement numbering, which is not
terribly harmful (else we'd have noticed sooner), but it's not
great either.

Oversight in bbd5c207b; backpatch to v12 where that came in.

Pavel Stehule

Discussion: https://postgr.es/m/CAFj8pRDXyQaJmpotNTQVc-t-WxdWZC35V2PnmwOaV1-taidFWA@mail.gmail.com

Branch
------
REL_12_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/78fab843386bbaaaa4f74b26859d669e89d7db63

Modified Files
--------------
src/pl/plpgsql/src/pl_gram.y | 2 --
1 file changed, 2 deletions(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Fix ancient memory leak in contrib/auto_explain.
Next
From: Tom Lane
Date:
Subject: pgsql: Doc: consistently identify OID catalog columns that can be zero.