From: | Paul Breen <paul(dot)breen6(at)btinternet(dot)com> |
---|---|
To: | pgsql-admin(at)postgresql(dot)org |
Subject: | Re: old database dump. |
Date: | 2005-12-01 10:17:25 |
Message-ID: | 20051201101725.28974.qmail@web86405.mail.ukl.yahoo.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
Alternatively you can login with your password as
normal and then once in psql use the '\i filename'
command to read in your backup.
E.g.,
psql dbname
Password:
dbname=# \i database.bak
dbname=# \q
Regards - Paul Breen
--- Jeff Frost <jeff(at)frostconsultingllc(dot)com> wrote:
> Use the .pgpass file.
>
> On Thu, 1 Dec 2005, Theo Galanakis wrote:
>
> > database.bak prompts me for a password. How can I
> run the psql command
> > without being prompted for a password. The
> password prompt and < command
>
> --
> Jeff Frost, Owner <jeff(at)frostconsultingllc(dot)com>
> Frost Consulting, LLC
> http://www.frostconsultingllc.com/
> Phone: 650-780-7908 FAX: 650-649-1954
>
> ---------------------------(end of
> broadcast)---------------------------
> TIP 2: Don't 'kill -9' the postmaster
>
From | Date | Subject | |
---|---|---|---|
Next Message | sandhya | 2005-12-01 10:36:50 | Reg: File import&export problem |
Previous Message | Jeff Frost | 2005-12-01 06:57:46 | Re: old database dump. |