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 1sDAGL-00Ad3f-HD for pgsql-general@arkaria.postgresql.org; Fri, 31 May 2024 21:58:15 +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 1sDAFM-00FeN1-QE for pgsql-general@arkaria.postgresql.org; Fri, 31 May 2024 21:57:12 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sDAFL-00FeMt-K1 for pgsql-general@lists.postgresql.org; Fri, 31 May 2024 21:57:12 +0000 Received: from wfout7-smtp.messagingengine.com ([64.147.123.150]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sDAFI-002sMv-G6 for pgsql-general@lists.postgresql.org; Fri, 31 May 2024 21:57:10 +0000 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailfout.west.internal (Postfix) with ESMTP id 56D521C0010B; Fri, 31 May 2024 17:57:06 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Fri, 31 May 2024 17:57:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= cc:content-transfer-encoding:content-type:content-type:date:date :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm3; t=1717192625; x=1717279025; bh=Nfinpv2Gsy2QC8KSvu+ijvfZ4J/Wm9O3E5Z581UnD+k=; b= PsU15pAxPUuV4o6NW7M+3ABcOfZn/Al7W9X4TaAMXClaRzHaEnXwiHb5VxVS1vv3 diP77bnDv8oFY/YAoO7Ecs5P4hUqgdaKB1jiuSZ5pwOWkhU/nni/lZ8xsPeX+B9j zt8EP4AyEIv8i8PESIVY8knB2qdkUdPkCvUZocGtrjSUVAWUz9rNnf2fGUrHnkUS xwpR2r1KmIjNTIm69FYPsCTQhJdqsclrkG0Xwsau+U0nMigfXqecyGCFP/t36RUC +yP/hixoFfsYmmSOn7HYeCq2ZOanhAR5ASP9WEi4rhJitvZcBIhlBSaAk4oiG/Gq E75WBp2UIPFkphKajo08Cw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1717192625; x= 1717279025; bh=Nfinpv2Gsy2QC8KSvu+ijvfZ4J/Wm9O3E5Z581UnD+k=; b=Z Ihiu/5MB/SUjm2TSdMenPnNcR0AT9kRZOY46Mtne9zf3TFnzwg68u/vgWAL6cvy2 yagZ47IgWwcTOft2Q9CrQCPQjkH/pfyfkjUYiog2E3yc1WbDWQSunhiqMdLtMrx4 nlukKQM1OcOjaZsJk0AuM0myaPFqnpkFffUTM4x4UzR+Bldm8h287OLViezoWHfb phJ16LxojqfqEF1FlPgZmpaxSG7jXQUkRe3JjKFm97LyC8aIdQ2Apbe0DtrWJlrY l3Sj/1pl5FguMIdqw2N9z3/5AkDFVtquqyzE6PqJtXqe3EOmqrRD4oRTetHGlimf vo2ULihYZasUkZOGHuQ0g== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrvdekjedgtdegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepkfffgggfuffvfhfhjggtgfesthejredttddvjeenucfhrhhomheptegurhhi rghnucfmlhgrvhgvrhcuoegrughrihgrnhdrkhhlrghvvghrsegrkhhlrghvvghrrdgtoh hmqeenucggtffrrghtthgvrhhnpedulefffefhleegkefgffetudefffeitdejgfevkeel ffetgedvvdegffffvdfgtdenucffohhmrghinhepvghnthgvrhhprhhishgvuggsrdgtoh hmpdhpohhsthhgrhgvshhqlhdrohhrghenucevlhhushhtvghrufhiiigvpedtnecurfgr rhgrmhepmhgrihhlfhhrohhmpegrughrihgrnhdrkhhlrghvvghrsegrkhhlrghvvghrrd gtohhm X-ME-Proxy: Feedback-ID: i76984098:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 31 May 2024 17:57:05 -0400 (EDT) Message-ID: Date: Fri, 31 May 2024 14:57:04 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Issue with PostgreSQL Installer on Windows and Special Characters in the superuser password To: Timo Schwaak , pgsql-general@lists.postgresql.org References: <35f280da-6547-458c-90ec-1d946c269f9f@me.com> Content-Language: en-US From: Adrian Klaver In-Reply-To: <35f280da-6547-458c-90ec-1d946c269f9f@me.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 5/31/24 14:18, Timo Schwaak wrote: > Dear PostgreSQL community, > > I hope this is the right place for my concern. > Today I discovered a strange behaviour of the Windows Installer of > PostgreSQL. > While migrating an application database from MSSQL, the Postgres setup > did not seem to complete correctly and had problems starting the > Postgres 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 > generated with alphanumeric + special characters. While this did not > work, switching to alphanumeric-only passwords seemed to solve the > problem. I suspect that the quotation marks in particular are causing > problems in the setup, 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 EDB) > Steps to reproduce: > 1. Run the installer > 2. Enter any password that contains quotation marks > 3. The installer 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 known issue, can you > help me point this report in the right direction so that it can be > addressed? 1) Don't use passwords with quotation marks. 2) Contact https://www.enterprisedb.com/ and file an issue with them. The installer is their product not part of the community distribution. 3) Poke pgadmin-support here: https://www.postgresql.org/list/pgadmin-support/ That is from EDB also, maybe someone over there can help. 4) Jump on this thread at pgsql-bugs about installer : https://www.postgresql.org/message-id/flat/DU0PR10MB71447B1C6946731AD6C73D13C0E72%40DU0PR10MB7144.EURPRD10.PROD.OUTLOOK.COM Or start a new one here: https://www.postgresql.org/account/login/?next=/account/submitbug/ > > > Best regards, > > Timo -- Adrian Klaver adrian.klaver@aklaver.com