Re: Database name with semicolon - Mailing list pgsql-general

From joby.john@nccgroup.trust
Subject Re: Database name with semicolon
Date
Msg-id 1530180628088-0.post@n3.nabble.com
Whole thread Raw
In response to Re: Database name with semicolon  (Adrian Klaver <adrian.klaver@aklaver.com>)
Responses Re: Database name with semicolon
Re: Database name with semicolon
List 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


pgsql-general by date:

Previous
From: David Rowley
Date:
Subject: Re: help understanding create statistic
Next
From: Victor Noagbodji
Date:
Subject: JSONB arrays