Re: BUG #4337: psql -c case insensitive

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #4337: psql -c case insensitive
Дата
Msg-id 10110.1217522256@sss.pgh.pa.us
обсуждение исходный текст
Ответ на BUG #4337: psql -c case insensitive  ("none" <nomind@mailinator.com>)
Ответы Re: BUG #4337: psql -c case insensitive
Список pgsql-bugs
"none" <nomind@mailinator.com> writes:
> I'm programming an application that uses psql (...) -c "ALTER DATABASE
> \"MyBase\" RENAME TO \"MyBase2\" and it doesn't work because it looks for a
> "mybase" database name.

Works for me.  I speculate that your scripting language is losing the
embedded double-quotes somewhere before psql gets them.  I don't know
much about Windows scripting so it's hard to say more than that; but
an extra interpretation pass over the command string would probably
cause such a problem.

            regards, tom lane

В списке pgsql-bugs по дате отправления:

Предыдущее
От: "none"
Дата:
Сообщение: BUG #4337: psql -c case insensitive
Следующее
От: Magnus Hagander
Дата:
Сообщение: Re: BUG #4337: psql -c case insensitive