Get rid of redundant production in plpgsql grammar.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: e2dc3f57726199408902ba87eaaf7b95d1223744
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2014-11-23T20:31:36Z
Releases: 9.5.0
Get rid of redundant production in plpgsql grammar.

There may once have been a reason for the intermediate proc_stmts
production in the plpgsql grammar, but it isn't doing anything useful
anymore, so let's collapse it into proc_sect.  Saves some code and
probably a small number of nanoseconds per statement list.

In passing, correctly alphabetize keyword lists to match pl_scanner.c;
note that for "rowtype" vs "row_count", pl_scanner.c must sort on the
basis of the lower-case spelling.

Noted while fooling with a patch to de-reserve more plpgsql keywords.

Files

PathChange+/−
src/pl/plpgsql/src/pl_gram.y modified +11 −21