Re: getting "shell command argument contains a newline or carriage return:" error with pg_dumpall when db name have new line in double quote

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Nathan Bossart <nathandbossart(at)gmail(dot)com>
Cc: Mahendra Singh Thalor <mahi6run(at)gmail(dot)com>, Álvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Srinath Reddy <srinath2133(at)gmail(dot)com>, pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: getting "shell command argument contains a newline or carriage return:" error with pg_dumpall when db name have new line in double quote
Date: 2026-02-24 15:58:31
Message-ID: 2a6b1449-79f0-4ac2-8fa9-c5986f8d11d9@dunslane.net
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


On 2026-02-23 Mo 4:03 PM, Nathan Bossart wrote:
> On Sat, Feb 21, 2026 at 01:16:05PM -0500, Andrew Dunstan wrote:
>> OK, I have squashed these two together and tweaked them a bit. I propose to
>> commit this patch fairly soon.
> koel seems to be unhappy with this one:
>
> https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=koel&dt=2026-02-23%2020%3A19%3A04
>

Thanks, it's been fixed. (I need to work out why my git hook didn't find
this.)

cheers

andrew

--
Andrew Dunstan
EDB: https://www.enterprisedb.com

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2026-02-24 16:02:07 Re: Check for memset_explicit() and explicit_memset()
Previous Message Andrew Dunstan 2026-02-24 15:55:20 Re: pgsql: libpq: Grease the protocol by default