pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: David G. Johnston <david.g.johnston@gmail.com>
Cc: jernej-s31+pg@simoncic.si <jernej-s31+pg@simoncic.si>
Cc: pgsql-bugs@lists.postgresql.org <pgsql-bugs@lists.postgresql.org>
Subject: Re: BUG #18453: --exclude-database has problems with capital letters
Date: Tue, 30 Apr 2024 20:31:19 -0400
Message-ID: <1841675.1714523479@sss.pgh.pa.us> (raw)
In-Reply-To: <CAKFQuwYCxpzRAhM4CHkTqN074ZiMT26ECr-qCsLnNiSS9BemKg@mail.gmail.com>
References: <18453-cd8d475eaca334be@postgresql.org>
	<CAKFQuwYCxpzRAhM4CHkTqN074ZiMT26ECr-qCsLnNiSS9BemKg@mail.gmail.com>

"David G. Johnston" <david.g.johnston@gmail.com> writes:
> On Tuesday, April 30, 2024, PG Bug reporting form <noreply@postgresql.org>
> wrote:
>> I've got a database named Lidar, which I want to exclude from being dumped
>> with pg_dumpall. When I use the following command, the database is not
>> skipped:
>> "C:\Program Files\PostgreSQL\16\bin\pg_dumpall.exe"
>> --exclude-database="Lidar" -U postgres > D:\dumps\pg.dump

> You will need to deal with getting quotes into the pattern while dealing
> with the fact your OS uses quotes for its own purpose.

Yeah.  In a Unix shell something like
	'--exclude-database="Lidar"'
would work, but I'm not up on the quoting rules under Windows.

			regards, tom lane





view thread (4+ messages)  latest in thread

Message-ID: <1841675.1714523479@sss.pgh.pa.us>
Permalink:  ../1841675.1714523479@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/1841675.1714523479@sss.pgh.pa.us

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, david.g.johnston@gmail.com, jernej-s31+pg@simoncic.si, pgsql-bugs@lists.postgresql.org
  Subject: Re: BUG #18453: --exclude-database has problems with capital letters
  In-Reply-To: <1841675.1714523479@sss.pgh.pa.us>

* 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