Re: Postgres dump using password on command line - Mailing list pgsql-admin

From Thomas Kellerer
Subject Re: Postgres dump using password on command line
Date
Msg-id mlm42p$ir7$1@ger.gmane.org
Whole thread Raw
In response to Postgres dump using password on command line  (Ankur Kaushik <ankurkaushik@gmail.com>)
List pgsql-admin
Ankur Kaushik schrieb am 15.06.2015 um 10:54:
>
> I have made script for the postgresql dump but unable to get dump only using command line as it require the password
whenexecute the script. 
>
> list of database command require Password after enter
>
> psql -l -t | cut -d'|' -f1 | sed -e 's/ //g' -e '/^$/d'
>
> same for pg_dump
>
> pg_dump $i|gzip > $backupfile
>

See here:

http://stackoverflow.com/a/6405296/330315

pgsql-admin by date:

Previous
From: Ankur Kaushik
Date:
Subject: Postgres dump using password on command line
Next
From: Ankur Kaushik
Date:
Subject: ERROR: duplicate key value violates unique constraint "geocode_settings_pkey"