can I send execution log into a file.

Started by Dinesh Pandeyalmost 21 years ago2 messagesgeneral
Jump to latest
#1Dinesh Pandey
dpandey@secf.com

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

Testdb=>\i MyCreateScript.sql

Thanks

#2Mage
mage@mage.hu
In reply to: Dinesh Pandey (#1)
Re: can I send execution log into a file.

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