Re: syntax error while using pg_dump in Postgres 8.4

Поиск
Список
Период
Сортировка
От David G Johnston
Тема Re: syntax error while using pg_dump in Postgres 8.4
Дата
Msg-id 1414687959261-5825056.post@n5.nabble.com
обсуждение исходный текст
Список pgsql-general
CrabbeS wrote
> I am trying to copy a table form one database to another by using this
> command in the SQL-query builder:
> pg_dump TA2000 -t from Forest -c -s | psql -h localhost postgis;

pg_dump is a standalone application (i.e., something you run in a
shell/command-line) and not an SQL command.

Pipes (the "|" in your string) are also shell/command-line only and cannot
be used where SQL is expected.

David J.




--
View this message in context:
http://postgresql.1045698.n5.nabble.com/syntax-error-while-using-pg-dump-in-Postgres-8-4-tp5825054p5825056.html
Sent from the PostgreSQL - general mailing list archive at Nabble.com.


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

Предыдущее
От: Adrian Klaver
Дата:
Сообщение: Re: Appending new data to existing field of Json data type
Следующее
От: VENKTESH GUTTEDAR
Дата:
Сообщение: Re: Appending new data to existing field of Json data type