Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sD9ds-00AYcN-EK for pgsql-general@arkaria.postgresql.org; Fri, 31 May 2024 21:18:29 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1sD9dr-00FOLT-W4 for pgsql-general@arkaria.postgresql.org; Fri, 31 May 2024 21:18:27 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sD9dr-00FOLK-BL for pgsql-general@lists.postgresql.org; Fri, 31 May 2024 21:18:27 +0000 Received: from st43p00im-ztdg10063201.me.com ([17.58.63.182]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sD9dj-001jRe-MP for pgsql-general@lists.postgresql.org; Fri, 31 May 2024 21:18:26 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=icloud.com; s=1a1hai; t=1717190297; bh=FS3cT7cYB/67WB0G42rRTR1rtmQPuXaJlH6TVisMyx4=; h=To:From:Subject:Date:Message-id:Content-Type:MIME-Version; b=qZeieysA2gJVr16JdQrC1YKPF71Et8qBIg4MhkPwymTzb+M3hr5s3ZILWwvF2kPXB vLqtYYr4Xi+uCrXJOqZdDZcyroT9Z/QPb2VzbD09VL4WLpgjATJ9SDBjYUCWjIkrBA zeOxJErqhqg/UWe4Tkfl5+w8gXHQAnc921cNyMOS41nLD5g6vcr+j7rR8qsYWvaw3Y 2roRK8I2+POYQCTtEfzBBmEOg5tUfmX9d30rMMpD9aEzFEmzM9V/IKRlMzIkvPqUR4 VhpSgRqL7pKyO1/tsGBRpLGNfj9iIy2tw42LcSTMVKUAxwBITSsXYjJoqUxvVXvpyc qm3n0nnGCeleQ== Received: from st43p00im-ztdg10063201.me.com (st43p00im-ztdg10063201.me.com [17.58.63.182]) by st43p00im-ztdg10063201.me.com (Postfix) with ESMTPS id 90C5F9804F0 for ; Fri, 31 May 2024 21:18:17 +0000 (UTC) Received: from p00-mailws2-f9789c585-wnxnl (st43p00im.dlb-asmtpoutvip.me.com [10.76.196.233]) by st43p00im-ztdg10063201.me.com (Postfix) with ESMTPSA id 620049804B9 for ; Fri, 31 May 2024 21:18:17 +0000 (UTC) To: pgsql-general@lists.postgresql.org From: Timo Schwaak Subject: =?utf-8?B?SXNzdWUgd2l0aCBQb3N0Z3JlU1FMIEluc3RhbGxlciBvbiBXaW5kb3dzIGFu?= =?utf-8?B?ZCBTcGVjaWFsIENoYXJhY3RlcnMgaW4gdGhlIHN1cGVydXNlciBwYXNzd29y?= =?utf-8?B?ZA==?= Date: Fri, 31 May 2024 21:18:17 +0000 (UTC) X-Mailer: iCloud MailClientcurrent MailServer2416B19.10000-master-0-afff60057808 Message-id: <35f280da-6547-458c-90ec-1d946c269f9f@me.com> Content-Type: multipart/alternative; boundary=Apple-Webmail-42--fcd8543f-6129-493f-b3a3-b382ecf6ca5f MIME-Version: 1.0 X-Proofpoint-GUID: 3vw7jGlBE4dZ-Tm1IQZ5rIx6IqQxkxMT X-Proofpoint-ORIG-GUID: 3vw7jGlBE4dZ-Tm1IQZ5rIx6IqQxkxMT X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1039,Hydra:6.0.650,FMLib:17.12.28.16 definitions=2024-05-31_14,2024-05-30_01,2024-05-17_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 malwarescore=0 suspectscore=0 clxscore=1011 mlxscore=0 spamscore=0 phishscore=0 mlxlogscore=864 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2308100000 definitions=main-2405310163 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --Apple-Webmail-42--fcd8543f-6129-493f-b3a3-b382ecf6ca5f Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8; format=flowed Dear PostgreSQL community, I hope this is the right place for my concern. = Today I discovered a strange behaviour of the Windows Installer of Postgre= SQL. While migrating an application database from MSSQL, the Postgres setu= p did not seem to complete correctly and had problems starting the Postgre= s service after installation. I found that the service did not seem to be = created at all. After some trying around with help I found online, trying = non-domain users and some other stuff that was proposed for the problem, I= found the problem lay in my chosen password. My password was randomly gen= erated with alphanumeric + special characters. While this did not work, sw= itching to alphanumeric-only passwords seemed to solve the problem. I susp= ect that the quotation marks in particular are causing problems in the set= up, as they seem to terminate some strings prematurely in the scripts used= by the installer. My setup was as follows: OS: Windows Server 2019, also = tested on Windows Server 2022 PSQL version: 16.3 (latest installer from ED= B) Steps to reproduce: 1. Run the installer 2. Enter any password that con= tains quotation marks 3. The installer should fail at the end and report s= ome errors. Could you please help me investigate this, is this a known pro= blem or is there even a known workaround? If this is not a known issue, ca= n you help me point this report in the right direction so that it can be a= ddressed? Best regards, Timo --Apple-Webmail-42--fcd8543f-6129-493f-b3a3-b382ecf6ca5f Content-Type: multipart/related; type="text/html"; boundary=Apple-Webmail-86--fcd8543f-6129-493f-b3a3-b382ecf6ca5f --Apple-Webmail-86--fcd8543f-6129-493f-b3a3-b382ecf6ca5f Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8;
Dear PostgreSQL community,

I hope this = is the right place for my concern.
Today I discovered a stra= nge behaviour of the Windows Installer of PostgreSQL.
While = migrating an application database from MSSQL, the Postgres setup did not s= eem to complete correctly and had problems starting the Postgres service a= fter installation. I found that the service did not seem to be created at = all.
After some trying around with help I found online, tryi= ng non-domain users and some other stuff that was proposed for the problem= , I found the problem lay in my chosen password. My password was randomly = generated with alphanumeric + special characters. While this did not work,= switching to alphanumeric-only passwords seemed to solve the problem. I s= uspect that the quotation marks in particular are causing problems in the = setup, as they seem to terminate some strings prematurely in the scripts u= sed by the installer.
My setup was as follows:

OS: Windows Server 2019, also tested on Windows Server 202= 2
PSQL version: 16.3 (latest installer from EDB)
Steps to reproduce:
1. Run the installer
2.= Enter any password that contains quotation marks
3. The ins= taller should fail at the end and report some errors.


Could you please help me investigate this, is this= a known problem or is there even a known workaround? If this is not a kno= wn issue, can you help me point this report in the right direction so that= it can be addressed?


Best reg= ards,

Timo
--Apple-Webmail-86--fcd8543f-6129-493f-b3a3-b382ecf6ca5f-- --Apple-Webmail-42--fcd8543f-6129-493f-b3a3-b382ecf6ca5f--