| От | Viraj Kanwade |
|---|---|
| Тема | bug with psql 8.3.3 on ubuntu |
| Дата | |
| Msg-id | 4900AA6A.5020605@gslab.com обсуждение исходный текст |
| Ответы |
Re: bug with psql 8.3.3 on ubuntu
|
| Список | pgsql-bugs |
Hi,
I have a table which has capital characters in it.
I am running the command
psql -d mydb -U usr -t -c " select val1 from ""MyTable"" where val2 =
'abc' "
OR
psql -d mydb -U usr -t -c ' select val1 from "MyTable" where val2 =
''abc'' '
Both work fine on my windows machine.
But when I try to run these commands on Ubuntu, I get the escaped (")/
(') are ignored.
The command it is interpreting is
psql -d mydb -U usr -t -c " select val1 from MyTable where val2 = 'abc' "
OR
psql -d mydb -U usr -t -c ' select val1 from "MyTable" where val2 = abc '
Hence, it wont work for me.
Why is this different behavior?
Please let me know what I should be doing to make it work on Ubuntu.
Thanks.
Regards,
Viraj
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера