Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Update copyright for 2015 | Bruce Momjian | 2015-01-06 |
| | | | | Backpatch certain files through 9.0 | ||
* | Update copyright for 2014 | Bruce Momjian | 2014-01-07 |
| | | | | | Update all files in head, and files COPYRIGHT and legal.sgml in all back branches. | ||
* | Update copyrights for 2013 | Bruce Momjian | 2013-01-01 |
| | | | | | Fully update git head, and update back branches in ./COPYRIGHT and legal.sgml files. | ||
* | Run newly-configured perltidy script on Perl files. | Bruce Momjian | 2012-07-04 |
| | | | | Run on HEAD and 9.2. | ||
* | Update copyright notices for year 2012. | Bruce Momjian | 2012-01-01 |
| | |||
* | Add simple script to check for right recursion in Bison grammars. | Tom Lane | 2011-10-27 |
We should generally use left-recursion not right-recursion to parse lists. Bison hasn't got any built-in way to check for this type of inefficiency, and I didn't find anything on the net in a quick search, so I wrote a little Perl script to do it. Add to src/tools/ so we don't have to re-invent this wheel next time we wonder if we're doing anything stupid. Currently, the only place that seems to need fixing is plpgsql's stmt_else production, so the problem doesn't appear to be common enough to warrant trying to include such a test in our standard build process. If we did want to do that, we'd need a way to ignore some false positives, such as a_expr := '-' a_expr |