Re: Need help with bash script and postgresql

From: Raymond O'Donnell <rod(at)iol(dot)ie>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Need help with bash script and postgresql
Date: 2007-07-23 13:32:20
Message-ID: 46A4ADE4.2030907@iol.ie
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 23/07/2007 14:22, Perry Smith wrote:

> First, you can specify a password with -P (I think --password works
> also). psql --help for optins.

-P doesn't specify the password - see below:

C:\Documents and Settings\rod>psql --help
This is psql 8.2.4, the PostgreSQL interactive terminal.

Usage:
psql [OPTIONS]... [DBNAME [USERNAME]]

<snip>

Output format options:

<snip>

-P VAR[=ARG] set printing option VAR to ARG (see \pset command)

<etc...>

Ray.

---------------------------------------------------------------
Raymond O'Donnell, Director of Music, Galway Cathedral, Ireland
rod(at)iol(dot)ie
---------------------------------------------------------------

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Perry Smith 2007-07-23 13:51:24 Re: Need help with bash script and postgresql
Previous Message Perry Smith 2007-07-23 13:22:51 Re: Need help with bash script and postgresql