Re: Need help with bash script and postgresql
От | Perry Smith |
---|---|
Тема | Re: Need help with bash script and postgresql |
Дата | |
Msg-id | E813F451-A18C-4041-BDB4-72BC1DCB9444@easesoftware.com обсуждение исходный текст |
Ответ на | Re: Need help with bash script and postgresql (Raymond O'Donnell <rod@iol.ie>) |
Ответы |
Re: Need help with bash script and postgresql
|
Список | pgsql-general |
On Jul 23, 2007, at 8:32 AM, Raymond O'Donnell wrote: > 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...> Ah... I knew that. I always assume it does, then it doesn't work, then I look at the man page. Sorry. (note that --password does not either. It just forces psql to prompt for one). Perry Smith ( pedz@easesoftware.com ) Ease Software, Inc. ( http://www.easesoftware.com ) Low cost SATA Disk Systems for IBMs p5, pSeries, and RS/6000 AIX systems
В списке pgsql-general по дате отправления: