aboutsummaryrefslogtreecommitdiff
path: root/src/backend/postmaster/syslogger.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2022-07-18 19:43:16 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2022-07-18 19:43:16 -0400
commit0778eb79b1e2957743bbd577fc3d862a3dc007cf (patch)
treef0f559dab914ac1acfff14caa062bba5f6981ecd /src/backend/postmaster/syslogger.c
parentd268d0f7a16e9e3c6de660b73543d875b8187def (diff)
downloadpostgresql-0778eb79b1e2957743bbd577fc3d862a3dc007cf.tar.gz
postgresql-0778eb79b1e2957743bbd577fc3d862a3dc007cf.zip
Improve perl style in ecpg's parser-construction scripts.
parse.pl and check_rules.pl used "no warnings 'uninitialized'", which doesn't seem like it measures up to current project standards. Removing that shows that it was hiding various places that accessed off the end of an array, which are easily protected by minor logic adjustments. There's no change in the script results. While here, improve the Makefile rule that invokes these scripts. It neglected to depend on check_rules.pl, so that editing that file didn't result in re-running the check; and it ran check_rules.pl after building preproc.y, so that if check_rules.pl did fail the next "make" attempt would just bypass it. check_rules.pl failures are sufficiently un-heard-of that I don't feel a need to back-patch this. Discussion: https://postgr.es/m/838180.1658181982@sss.pgh.pa.us
Diffstat (limited to 'src/backend/postmaster/syslogger.c')
0 files changed, 0 insertions, 0 deletions