aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2018-09-17 12:11:43 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2018-09-17 12:11:43 -0400
commitd45f157e8b07aee455df0bcc76fdf4e9963c0200 (patch)
treec5846722d4f8803089f2f511d8e00fb887bc170e /src/backend/executor
parentf02259fe93e75d5443a2fabe2f2f38b81924ab36 (diff)
downloadpostgresql-d45f157e8b07aee455df0bcc76fdf4e9963c0200.tar.gz
postgresql-d45f157e8b07aee455df0bcc76fdf4e9963c0200.zip
Fix pgbench lexer's "continuation" rule to cope with Windows newlines.
Our general practice in frontend code is to accept input with either Unix-style newlines (\n) or DOS-style (\r\n). pgbench was mostly down with that, but its rule for line continuations (backslash-newline) was not. This had been masked on Windows buildfarm machines before commit 0ba06e0bf by use of Windows text mode to read files. We could have fixed it by forcing text mode again, but it's better to fix the parsing code so that Windows-style text files on Unix systems don't cause problems. Back-patch to v10 where pgbench grew line continuations. Discussion: https://postgr.es/m/17194.1537191697@sss.pgh.pa.us
Diffstat (limited to 'src/backend/executor')
0 files changed, 0 insertions, 0 deletions