aboutsummaryrefslogtreecommitdiff
path: root/src/backend/tcop/postgres.c
diff options
context:
space:
mode:
authorAlvaro Herrera <alvherre@alvh.no-ip.org>2021-03-16 10:36:28 -0300
committerAlvaro Herrera <alvherre@alvh.no-ip.org>2021-03-16 10:36:28 -0300
commit015061690c6526ff9f9f7af2940e1c1541654b68 (patch)
treebdbf3f98abf0c2bc286655b46567eb0694d4978f /src/backend/tcop/postgres.c
parent15639d5e8f6f278219681fec8a5668a92fb7e874 (diff)
downloadpostgresql-015061690c6526ff9f9f7af2940e1c1541654b68.tar.gz
postgresql-015061690c6526ff9f9f7af2940e1c1541654b68.zip
(Blind) fix Perl splitting of strings at newlines
I forgot that Windows represents newlines as \r\n, so splitting a string at /\s/ creates additional empty strings. Let's rewrite that as /\s+/ to see if that avoids those. (There's precedent for using that pattern on Windows in other scripts.) Previously: 91bdf499b37b, 8ed428dc977f, 650b96707672. Per buildfarm, via Tom Lane. Discussion: https://postgr.es/m/3144460.1615860259@sss.pgh.pa.us
Diffstat (limited to 'src/backend/tcop/postgres.c')
0 files changed, 0 insertions, 0 deletions