pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jernej Simončič <jernej-s31+pg@simoncic.si>
To: David G. Johnston <david.g.johnston@gmail.com>
To: pgsql-bugs@lists.postgresql.org <pgsql-bugs@lists.postgresql.org>
Subject: Re: BUG #18453: --exclude-database has problems with capital letters
Date: Wed, 1 May 2024 13:12:50 +0200
Message-ID: <584081553.20240501131250@xn--simoni-m2ab.si> (raw)
In-Reply-To: <CAKFQuwYCxpzRAhM4CHkTqN074ZiMT26ECr-qCsLnNiSS9BemKg@mail.gmail.com>
References: <18453-cd8d475eaca334be@postgresql.org>
	<CAKFQuwYCxpzRAhM4CHkTqN074ZiMT26ECr-qCsLnNiSS9BemKg@mail.gmail.com>

On sreda, 01. maj 2024, 02:09:29, David G. Johnston wrote:

> There is no bug here.  The pattern specified doesn’t quote the identifier so it is folded to lowercase.

Ah, I missed that pattern is folded to lower-case.
 
> 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 arguments – Windows just passes everything as a single string (though the C library does abstract this away, so in this case --exclude-database="\"Lidar\"" or even --exclude-database=\"Lidar\" works).
 
-- 
< Jernej Simončič ><><><><><><><><><><><>< https://eternallybored.org/ ;






view thread (4+ messages)

Message-ID: <584081553.20240501131250@xn--simoni-m2ab.si>
Permalink:  ../584081553.20240501131250@xn--simoni-m2ab.si/
Also on:    postgresql.org/message-id/584081553.20240501131250@xn--simoni-m2ab.si

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: jernej-s31+pg@simoncic.si, david.g.johnston@gmail.com
  Subject: Re: BUG #18453: --exclude-database has problems with capital letters
  In-Reply-To: <584081553.20240501131250@xn--simoni-m2ab.si>
  References: <18453-cd8d475eaca334be@postgresql.org> <CAKFQuwYCxpzRAhM4CHkTqN074ZiMT26ECr-qCsLnNiSS9BemKg@mail.gmail.com> <584081553.20240501131250@xn--simoni-m2ab.si>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox