Обсуждение: can I send execution log into a file.

Поиск
Список
Период
Сортировка

can I send execution log into a file.

От
"Dinesh Pandey"
Дата:

I am using Postgres. How can I send execution log into a file.

 

Testdb=>\i MyCreateScript.sql

 

Thanks

 

Re: can I send execution log into a file.

От
Mage
Дата:
Dinesh Pandey wrote:

> I am using Postgres. How can I send execution log into a file.
>
>
>
psql -o filename

I also recommend:

psql -H -e -o filename

       Mage