psql with option -c fails..

Поиск
Список
Период
Сортировка
От akp geek
Тема psql with option -c fails..
Дата
Msg-id CACnhOf+pFufp09Ec+EKxcjq-5vMkoKvQyMX4UdiBbdmi+gm63A@mail.gmail.com
обсуждение исходный текст
Ответы Re: psql with option -c fails..
Re: psql with option -c fails..
Список pgsql-general
Hi all -

               I am trying to run the psql command the following way and it's failing . Can you please help?

                psql  -d mydb  -c 'update tb_user set accountstatus='A' where userid=123'

ERROR:  column "a" does not exist
LINE 1: ...date tb_user accountstatus=A


Thanks for the help

Regards

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

Предыдущее
От: Alexander Farber
Дата:
Сообщение: Storing PHP 5.3 sessions into PostgreSQL 8.4
Следующее
От: Lonni J Friedman
Дата:
Сообщение: Re: psql with option -c fails..