Tweak new Perl pgindent for compatibility with middle-aged Perls.
Tom Lane <tgl@sss.pgh.pa.us>
Tweak new Perl pgindent for compatibility with middle-aged Perls. We seem to have a rough policy that our Perl scripts should work with Perl 5.8, so make this one do so. Main change is to not use the newfangled \h character class in regexes; "[ \t]" is a serviceable replacement.
Files
| Path | Change | +/− |
|---|---|---|
| src/tools/pgindent/pgindent | modified | +22 −22 |