Gettting warning message during PostgreSQL-9.5 installation on Windows
Ashutosh Sharma <ashu.coek88@gmail.com>
From: Ashutosh Sharma <ashu.coek88@gmail.com>
To: pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2017-08-02T05:54:29Z
Lists: pgsql-hackers
Attachments
- Silence_warning_unescaped_braces.patch (application/octet-stream) patch
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 <andrew@dunslane.net>
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
Commits
-
Silence warning from modern perl about unescaped braces
- 1188b9b2c3b9 9.2.22 landed
- af1f1825924b 9.5.8 landed
- 8892170e7ffd 9.4.13 landed
- 3d9ae20e75e0 9.3.18 landed
- 76a1c97bf21c 9.6.0 cited