Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1ZpQK5-0001Sn-N3 for pgsql-bugs@arkaria.postgresql.org; Fri, 23 Oct 2015 00:35:09 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1ZpQK4-0007Zs-OV for pgsql-bugs@arkaria.postgresql.org; Fri, 23 Oct 2015 00:35:08 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1ZpQK3-0007ZJ-Ar for pgsql-bugs@postgresql.org; Fri, 23 Oct 2015 00:35:07 +0000 Received: from wrigleys.postgresql.org ([204.145.124.246]) by magus.postgresql.org with esmtp (Exim 4.84) (envelope-from ) id 1ZpQJz-0005Xg-Pu for pgsql-bugs@postgresql.org; Fri, 23 Oct 2015 00:35:06 +0000 MIME-Version: 1.0 Subject: =?utf-8?b?QlVHICMxMzcwMjogcGdfZHVtcCBpbnRlcnByZXRzIOKAnD3igJ0gaW4g?= =?utf-8?q?a_db_name_incorrectly?= To: pgsql-bugs@postgresql.org From: felipe@felipegasper.com Date: Fri, 23 Oct 2015 00:34:45 +0000 Message-ID: <20151023003445.931.91267@wrigleys.postgresql.org> X-Pg-Spam-Score: -1.2 (-) Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org The following bug has been logged on the website: Bug reference: 13702 Logged by: Felipe Gasper Email address: felipe@felipegasper.com PostgreSQL version: Unsupported/Unknown Operating system: Linux Description: For the purposes of an administrative frontend that I help develop/maintain, I have a database named: -------------- abcde_1234567890-=~!@#$%^&*()_+[]\{}|;:?,.<b> spaces -------------- When I try to back up this DB via pg_dump, the utility appears to split the DB name on the “=”, thinking that it’s another command-line option. I’ve tried passing in “--”, but no joy. I tried passing “--dbname” then the DB name, but pg_dump doesn’t seem to accept that argument. The only working solution I have found is to set the DB name in PGDATABASE. I found this in 9.0.18. Maybe it’s still a problem in supported releases, too? -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs