Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fYVBv-0006U8-PJ for pgsql-general@arkaria.postgresql.org; Thu, 28 Jun 2018 11:34:23 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fYVBu-0007SM-0d for pgsql-general@arkaria.postgresql.org; Thu, 28 Jun 2018 11:34:22 +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.89) (envelope-from ) id 1fYTsm-00057p-4U for pgsql-general@lists.postgresql.org; Thu, 28 Jun 2018 10:10:32 +0000 Received: from n3.nabble.com ([162.255.23.22]) by magus.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fYTsj-0001ot-2D for pgsql-general@postgresql.org; Thu, 28 Jun 2018 10:10:31 +0000 Received: from n3.nabble.com (localhost [127.0.0.1]) by n3.nabble.com (Postfix) with ESMTP id 16407DB8F702 for ; Thu, 28 Jun 2018 03:10:28 -0700 (MST) Date: Thu, 28 Jun 2018 03:10:28 -0700 (MST) From: "joby.john@nccgroup.trust" To: pgsql-general@postgresql.org Message-ID: <1530180628088-0.post@n3.nabble.com> In-Reply-To: <2b53f43f-6f79-19c5-3595-ec90984f53e5@aklaver.com> References: <2b0a3c93173a4bef8117c897bcca6957@MANDBSEXCH03.nccgroup.local> <2b53f43f-6f79-19c5-3595-ec90984f53e5@aklaver.com> Subject: Re: Database name with semicolon MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk > See if something like below works: > {db; name} Hi, Thanks for the responses. I tried putting curly brackets around the value of database like you mentioned. {db; name} But the server was treating the brackets as part of the database name and so did not work. I tried double quotes like "db; name" which also didn't work. Not sure what else I can try or whether the ODBC driver supports database name with a semicolon at all. I know that in the case of password we can put the string enclosed within curly brackets to escape special characters but not appears to be working for the database. Regards, Joby -- Sent from: http://www.postgresql-archive.org/PostgreSQL-general-f1843780.html