Re: old database dump. - Mailing list pgsql-admin

From Paul Breen
Subject Re: old database dump.
Date
Msg-id 20051201101725.28974.qmail@web86405.mail.ukl.yahoo.com
Whole thread Raw
In response to Re: old database dump.  (Jeff Frost <jeff@frostconsultingllc.com>)
Responses Re: old database dump.  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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@frostconsultingllc.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@frostconsultingllc.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
>


pgsql-admin by date:

Previous
From: Jeff Frost
Date:
Subject: Re: old database dump.
Next
From: "sandhya"
Date:
Subject: Reg: File import&export problem