Re: Database name with semicolon

From: "joby(dot)john(at)nccgroup(dot)trust" <Joby(dot)John(at)nccgroup(dot)trust>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Database name with semicolon
Date: 2018-06-28 10:10:28
Message-ID: 1530180628088-0.post@n3.nabble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> 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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Victor Noagbodji 2018-06-28 10:28:28 JSONB arrays
Previous Message David Rowley 2018-06-28 10:06:32 Re: help understanding create statistic