Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nZGPN-00082g-TE for pgsql-hackers@arkaria.postgresql.org; Tue, 29 Mar 2022 18:17:33 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nZGPM-0001e6-Gp for pgsql-hackers@arkaria.postgresql.org; Tue, 29 Mar 2022 18:17:32 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nZGPM-0001dw-7W for pgsql-hackers@lists.postgresql.org; Tue, 29 Mar 2022 18:17:32 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nZGPJ-0000fv-QW for pgsql-hackers@lists.postgresql.org; Tue, 29 Mar 2022 18:17:31 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 22TIHKm2050702; Tue, 29 Mar 2022 14:17:20 -0400 From: Tom Lane To: Robert Haas cc: Andres Freund , Dilip Kumar , Ashutosh Sharma , Maciek Sakrejda , Bruce Momjian , Alvaro Herrera , Andrew Dunstan , Heikki Linnakangas , PostgreSQL Hackers Subject: Re: [Proposal] Fully WAL logged CREATE DATABASE - No Checkpoints In-reply-to: References: <20220329173536.7d2ywdatsprxl4x6@alap3.anarazel.de> <48606.1648576426@sss.pgh.pa.us> Comments: In-reply-to Robert Haas message dated "Tue, 29 Mar 2022 13:57:52 -0400" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <50700.1648577840.1@sss.pgh.pa.us> Date: Tue, 29 Mar 2022 14:17:20 -0400 Message-ID: <50701.1648577840@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Robert Haas writes: > On Tue, Mar 29, 2022 at 1:53 PM Tom Lane wrote: >> That test script is expecting glibc-like laxness of switch >> parsing. Put the switches before the non-switch arguments. > I just did that. :-) Yup, you pushed while I was typing. FWIW, I don't think it's "Windows" enforcing this, it's our own src/port/getopt[_long].c. If there were a well-defined spec for what glibc does with such cases, it might be interesting to try to make our version bug-compatible with theirs. But AFAIK it's some random algorithm that they probably feel at liberty to change. regards, tom lane