Re: BUG #18453: --exclude-database has problems with capital letters

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #18453: --exclude-database has problems with capital letters
Дата
Msg-id 1841675.1714523479@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: BUG #18453: --exclude-database has problems with capital letters  ("David G. Johnston" <david.g.johnston@gmail.com>)
Список pgsql-bugs
"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



В списке pgsql-bugs по дате отправления:

Предыдущее
От: "David G. Johnston"
Дата:
Сообщение: Re: BUG #18453: --exclude-database has problems with capital letters
Следующее
От: David Rowley
Дата:
Сообщение: Re: BUG #17855: Uninitialised memory used when the name type value processed in binary mode of Memoize