pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: joby.john@nccgroup.trust <Joby.John@nccgroup.trust>
To: pgsql-general@postgresql.org
Subject: Re: Database name with semicolon
Date: Thu, 28 Jun 2018 03:10:28 -0700 (MST)
Message-ID: <1530180628088-0.post@n3.nabble.com> (raw)
In-Reply-To: <2b53f43f-6f79-19c5-3595-ec90984f53e5@aklaver.com>
References: <2b0a3c93173a4bef8117c897bcca6957@MANDBSEXCH03.nccgroup.local>
	<2b53f43f-6f79-19c5-3595-ec90984f53e5@aklaver.com>

> 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




view thread (9+ messages)  latest in thread

Message-ID: <1530180628088-0.post@n3.nabble.com>
Permalink:  ../1530180628088-0.post@n3.nabble.com/
Also on:    postgresql.org/message-id/1530180628088-0.post@n3.nabble.com

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: Joby.John@nccgroup.trust
  Subject: Re: Database name with semicolon
  In-Reply-To: <1530180628088-0.post@n3.nabble.com>
  References: <2b0a3c93173a4bef8117c897bcca6957@MANDBSEXCH03.nccgroup.local> <2b53f43f-6f79-19c5-3595-ec90984f53e5@aklaver.com> <1530180628088-0.post@n3.nabble.com>

* 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