From: | Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: (Blind) fix Perl splitting of strings at newlines |
Date: | 2021-03-16 14:32:42 |
Message-ID: | E1lMAkU-0004za-MG@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
(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
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/015061690c6526ff9f9f7af2940e1c1541654b68
Modified Files
--------------
src/test/modules/libpq_pipeline/t/001_libpq_pipeline.pl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Alvaro Herrera | 2021-03-16 14:36:06 | Re: pgsql: Implement pipeline mode in libpq |
Previous Message | Tom Lane | 2021-03-16 02:04:19 | Re: pgsql: Implement pipeline mode in libpq |