psql output and password Qs - Mailing list pgsql-sql

From ow
Subject psql output and password Qs
Date
Msg-id 20030919184716.51818.qmail@web21402.mail.yahoo.com
Whole thread Raw
Responses Re: psql output and password Qs
List pgsql-sql
Hi,

1) When psql is run from a script, how would one save *all* output generated by
psql (including errors, info messages, etc) in to a file?. I tried redirecting
output with ">" but that did not save error/confirmation messages.

2) When psql is run from a script, how would one pass a password to psql?

Thanks








__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com


pgsql-sql by date:

Previous
From: Tom Lane
Date:
Subject: Re: Problem with timestamp - Pls help
Next
From: Oliver Elphick
Date:
Subject: Re: psql output and password Qs