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 1s2AsP-000f3D-Mm for pgsql-bugs@arkaria.postgresql.org; Wed, 01 May 2024 14:24: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 1s2AsN-00CwPo-5l for pgsql-bugs@arkaria.postgresql.org; Wed, 01 May 2024 14:24:04 +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 1s27tX-00CJUT-7J for pgsql-bugs@lists.postgresql.org; Wed, 01 May 2024 11:13:04 +0000 Received: from m0.konto.si ([93.103.81.110]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1s27tT-000vE2-Vg for pgsql-bugs@lists.postgresql.org; Wed, 01 May 2024 11:13:02 +0000 Received: from localhost (postar.konto.si [127.0.0.1]) by m0.konto.si (Postfix) with ESMTP id 6D6361927A42B; Wed, 1 May 2024 13:12:52 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=simoncic.si; h= content-transfer-encoding:content-type:content-type:mime-version :references:in-reply-to:subject:subject:message-id:x-mailer:from :from:date:date:received:received; s=k1; t=1714561971; x= 1716376372; bh=Cb1OyaJn8MiGzWy3Np8PEGWRXuLco3pro+Cbb/XLGm4=; b=a fkR33rb4p9h30OPnkLN4W7kl/Rge4XgMke3LNbczCb7NkJaqSOmHgjDScM0JPBqu Y9zoUk7VutaX84mtGbNv10LrewsOCMXhZMNfg8DJJG0q5IXqH5QlOf6IvJBFpDfz Hd91CgJMlsqN0z74UB+1JMwcn+7CSfz1GTfeD1Ajn3crgW8ypyPMX9NGD/TKKXtU PFIKRK+dkyxpoHq8af2AeARfBvbEx8kBOl7fUi3aam7RrkPZcCQiSN2qw751AFCE +Pdq1aSXSxwZaq8KCbWVtsZ/hiNMb800CPhCk57Zhxa1FeODe8pKvaAu21ijDx7q yE76QV+kXWa3Mpa+3YEWQ== X-Virus-Scanned: amavisd-new (outgoing) Received: from m0.konto.si ([127.0.0.1]) by localhost (postar.konto.si [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id JSCen5Ou-E_W; Wed, 1 May 2024 13:12:51 +0200 (CEST) Received: from hactar.yggdrasil.local (unknown [IPv6:2a01:260:4094:1:807c:92ba:aeef:79bc]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by m0.konto.si (Postfix) with ESMTPSA id 51BFA19297C9B; Wed, 1 May 2024 13:12:51 +0200 (CEST) Date: Wed, 1 May 2024 13:12:50 +0200 From: =?utf-8?Q?Jernej_Simon=C4=8Dic=CC=8C?= X-Mailer: The Bat! (v11.1) Professional Message-ID: <584081553.20240501131250@xn--simoni-m2ab.si> To: "David G. Johnston" , "pgsql-bugs@lists.postgresql.org" Subject: Re: BUG #18453: --exclude-database has problems with capital letters In-Reply-To: References: <18453-cd8d475eaca334be@postgresql.org> X-Face: *BXrgB!?f3c"BwmeN:=h6[k:#^'6]0MuPu-@By.:}Io=wJ\]}W1N> n:~ixb-b:#nOD2|Eut%& MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On sreda, 01. maj 2024, 02:09:29, David G. Johnston wrote: > There is no bug here.=C2=A0 The pattern specified doesn=E2=80=99t quote t= he identifier so it is folded to lowercase. Ah, I missed that pattern is folded to lower-case. =C2=A0 > You will need to deal with getting quotes into the pattern while dealing = with the fact your OS uses quotes for its own purpose. On Windows the program itself deals with splitting the command line to argu= ments =E2=80=93 Windows just passes everything as a single string (though t= he C library does abstract this away, so in this case --exclude-database=3D= "\"Lidar\"" or even --exclude-database=3D\"Lidar\" works). =C2=A0 --=C2=A0 < Jernej Simon=C4=8Di=C4=8D ><><><><><><><><><><><><=C2=A0https://eternally= bored.org/=C2=A0>