Re: Database name with semicolon

Поиск
Список
Период
Сортировка
От Pavel Stehule
Тема Re: Database name with semicolon
Дата
Msg-id CAFj8pRAXbJ5rkVH3Aj4yJ=fK3hy4zdJaRsanvGvi0PtDQfCQqw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Database name with semicolon  ("joby.john@nccgroup.trust" <Joby.John@nccgroup.trust>)
Ответы Re: Database name with semicolon
Список pgsql-general


2018-06-28 12:10 GMT+02:00 joby.john@nccgroup.trust <Joby.John@nccgroup.trust>:
> 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.

please, can you try

'"db; name"' .. double quotes nested in apostrophes



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 по дате отправления:

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: Sv: Re: Sv: Re: CTE optimization fence
Следующее
От: "joby.john@nccgroup.trust"
Дата:
Сообщение: Re: Database name with semicolon