Re: SQL statement form shell ?

Поиск
Список
Период
Сортировка
От Raghavendra
Тема Re: SQL statement form shell ?
Дата
Msg-id CA+h6Ahh2AMPkW9=ghUX73pq8348dJr6cS9EK7rv-PUgJwKKqHA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: SQL statement form shell ?  (czezz <czezz@o2.pl>)
Ответы Re: SQL statement form shell ?
Список pgsql-admin

On Wed, Aug 27, 2014 at 8:53 PM, czezz <czezz@o2.pl> wrote:
Copy/Paste error. DB name should be: fm_db_Server4


​Did you set
PGOPTIONS environment variable for that terminal for any specific schema which do not contain the table "foo"
​. Then you might hit the error 

-bash-4.1$ export PGOPTIONS="-c search_path=tester"
-bash-4.1$ psql -p 5432 -d postgres -c "SELECT * FROM foo;"
ERROR:  relation "foo" does not exist
LINE 1: SELECT * FROM foo;
                      ^
​---
Regards,
Raghavendra
EnterpriseDB Corporation

 

Dnia 27 sierpnia 2014 17:13 Raghavendra <raghavendra.rao@enterprisedb.com> napisał(a):

fm_db_Server4



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

Предыдущее
От: Scott Whitney
Дата:
Сообщение: Re: SQL statement form shell ?
Следующее
От: Scott Whitney
Дата:
Сообщение: Re: SQL statement form shell ?