pgsql: Fix 003_extrafiles.pl test for the Windows

2024-01-30 Thread Andrew Dunstan
Fix 003_extrafiles.pl test for the Windows

File::Find converts backslashes to slashes in the newer Perl versions.
See: 
https://github.com/Perl/perl5/commit/414f14df98cb1c9a20f92c5c54948b67c09f072d

So, do the same conversion for Windows before comparing paths. To
support all Perl versions, always convert them on Windows regardless of
the Perl's version.

Author: Nazir Bilal Yavuz 

Backpatch to all live branches

Branch
--
REL_14_STABLE

Details
---
https://git.postgresql.org/pg/commitdiff/2acba01ddc2a6c9fd15f519ed24b1d8894762e41

Modified Files
--
src/bin/pg_rewind/t/003_extrafiles.pl | 13 +
1 file changed, 13 insertions(+)



pgsql: Fix 003_extrafiles.pl test for the Windows

2024-01-30 Thread Andrew Dunstan
Fix 003_extrafiles.pl test for the Windows

File::Find converts backslashes to slashes in the newer Perl versions.
See: 
https://github.com/Perl/perl5/commit/414f14df98cb1c9a20f92c5c54948b67c09f072d

So, do the same conversion for Windows before comparing paths. To
support all Perl versions, always convert them on Windows regardless of
the Perl's version.

Author: Nazir Bilal Yavuz 

Backpatch to all live branches

Branch
--
REL_12_STABLE

Details
---
https://git.postgresql.org/pg/commitdiff/e894d1d829196a482511577de743088e4e0aed76

Modified Files
--
src/bin/pg_rewind/t/003_extrafiles.pl | 13 +
1 file changed, 13 insertions(+)



pgsql: Fix 003_extrafiles.pl test for the Windows

2024-01-30 Thread Andrew Dunstan
Fix 003_extrafiles.pl test for the Windows

File::Find converts backslashes to slashes in the newer Perl versions.
See: 
https://github.com/Perl/perl5/commit/414f14df98cb1c9a20f92c5c54948b67c09f072d

So, do the same conversion for Windows before comparing paths. To
support all Perl versions, always convert them on Windows regardless of
the Perl's version.

Author: Nazir Bilal Yavuz 

Backpatch to all live branches

Branch
--
REL_13_STABLE

Details
---
https://git.postgresql.org/pg/commitdiff/f3429b0827212bc4746696ebbdda5692d2d6b791

Modified Files
--
src/bin/pg_rewind/t/003_extrafiles.pl | 13 +
1 file changed, 13 insertions(+)



pgsql: Fix 003_extrafiles.pl test for the Windows

2024-01-30 Thread Andrew Dunstan
Fix 003_extrafiles.pl test for the Windows

File::Find converts backslashes to slashes in the newer Perl versions.
See: 
https://github.com/Perl/perl5/commit/414f14df98cb1c9a20f92c5c54948b67c09f072d

So, do the same conversion for Windows before comparing paths. To
support all Perl versions, always convert them on Windows regardless of
the Perl's version.

Author: Nazir Bilal Yavuz 

Backpatch to all live branches

Branch
--
REL_15_STABLE

Details
---
https://git.postgresql.org/pg/commitdiff/c7cc528a345066b8b542eacef6dc4d9f72552e46

Modified Files
--
src/bin/pg_rewind/t/003_extrafiles.pl | 13 +
1 file changed, 13 insertions(+)



pgsql: Fix 003_extrafiles.pl test for the Windows

2024-01-30 Thread Andrew Dunstan
Fix 003_extrafiles.pl test for the Windows

File::Find converts backslashes to slashes in the newer Perl versions.
See: 
https://github.com/Perl/perl5/commit/414f14df98cb1c9a20f92c5c54948b67c09f072d

So, do the same conversion for Windows before comparing paths. To
support all Perl versions, always convert them on Windows regardless of
the Perl's version.

Author: Nazir Bilal Yavuz 

Backpatch to all live branches

Branch
--
master

Details
---
https://git.postgresql.org/pg/commitdiff/6ee26c6a4bafabbd22a85f575d2446fd5ec6ad0d

Modified Files
--
src/bin/pg_rewind/t/003_extrafiles.pl | 13 +
1 file changed, 13 insertions(+)



pgsql: Fix 003_extrafiles.pl test for the Windows

2024-01-30 Thread Andrew Dunstan
Fix 003_extrafiles.pl test for the Windows

File::Find converts backslashes to slashes in the newer Perl versions.
See: 
https://github.com/Perl/perl5/commit/414f14df98cb1c9a20f92c5c54948b67c09f072d

So, do the same conversion for Windows before comparing paths. To
support all Perl versions, always convert them on Windows regardless of
the Perl's version.

Author: Nazir Bilal Yavuz 

Backpatch to all live branches

Branch
--
REL_16_STABLE

Details
---
https://git.postgresql.org/pg/commitdiff/52a9af3b8b9f6ac28c41d2d5d1f743a57e4424e9

Modified Files
--
src/bin/pg_rewind/t/003_extrafiles.pl | 13 +
1 file changed, 13 insertions(+)