pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: ow <oneway_111@yahoo.com>
To: pgsql-sql@postgresql.org
Subject: psql output and password Qs
Date: Fri, 19 Sep 2003 11:47:16 -0700 (PDT)
Message-ID: <20030919184716.51818.qmail@web21402.mail.yahoo.com> (raw)

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



view thread (2+ messages)  latest in thread

Message-ID: <20030919184716.51818.qmail@web21402.mail.yahoo.com>
Permalink:  ../20030919184716.51818.qmail@web21402.mail.yahoo.com/
Also on:    postgresql.org/message-id/20030919184716.51818.qmail@web21402.mail.yahoo.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: oneway_111@yahoo.com
  Subject: Re: psql output and password Qs
  In-Reply-To: <20030919184716.51818.qmail@web21402.mail.yahoo.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox