Hi, I am getting this warning message when trying to install PostgreSQL-v9.5 on Windows with Perl-5.22 and above,
Unescaped left brace in regex is deprecated, passed through in regex;
marked by <-- HERE in m/Project\("{ <-- HERE 8BC9CEB8-8B4A-11D0-8D11
00A0C91BC942}"\) = "([^"]+)"/ at Install.pm line 220. Installing
version 9.5 for debug in
C:\Users\ashu\git-clone-postgresql\postgresql\TMP\test
Attached is the patch that fixes this issue.
Please note that from perl-5.26 onwards, this is considered as a
syntax error instead of warning.
Also, I could see that, there is already a git commit in
PostgreSQL-9.6 branch that fixes this but was not back patch to 9.5
and may be below branches.
commit 76a1c97bf21c301f61bb41345e0cdd0d365b2086
Author: Andrew Dunstan <[email protected]>
Date: Fri Apr 8 12:50:30 2016 -0400
Silence warning from modern perl about unescaped braces
--
With Regards,
Ashutosh Sharma
EnterpriseDB:http://www.enterprisedb.com
Silence_warning_unescaped_braces.patch
Description: Binary data
-- Sent via pgsql-hackers mailing list ([email protected]) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers
