Re: reading command from file

Поиск
Список
Период
Сортировка
От Thorsten Haude
Тема Re: reading command from file
Дата
Msg-id 20030116004747.GQ1665@eumel.yoo.local
обсуждение исходный текст
Ответ на reading command from file  ("Rosta Farzan" <rosta@acc.csuhayward.edu>)
Список pgsql-novice
Hi,

* Rosta Farzan <rosta@acc.csuhayward.edu> [2003-01-15 22:50]:
>I need help in how to read sql commands from file instead of typing in
>postgres (psql) command line.

Just write you commands in a file and pipe it in:
    psql <yourFile.pgsql


Thorsten
--
He that would make his own liberty secure, must guard even
his enemy from oppression; for if he violates this duty,
he establishes a precedent which will reach to himself.
    - Thomas Paine

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Insert from CSV (comma separated values) file
Следующее
От: "Thilo Hille"
Дата:
Сообщение: VACUUM ANALYSE...