Skip site navigation (1) Skip section navigation (2)

Re: restoring with sql script

From: "Ashish Karalkar" <ashish(dot)karalkar(at)info-spectrum(dot)com>
To: "Demian Quinonez" <dgq111(at)gmail(dot)com>, <pgsql-novice(at)postgresql(dot)org>
Subject: Re: restoring with sql script
Date: 2007-08-10 07:58:01
Message-ID: 005401c7db24$3059b700$170211ac@LIONKING.COM (view raw, whole thread or download thread mbox)
Lists: pgsql-novice
try giving -W parameter to  psql command.

With Regards
----- Original Message ----- 
From: "Demian Quinonez" <dgq111(at)gmail(dot)com>
To: <pgsql-novice(at)postgresql(dot)org>
Sent: Thursday, August 09, 2007 3:47 AM
Subject: [NOVICE] restoring with sql script


I am creating a fail over server and one element of my system is using
postgresql 8.0.  I created a dump of the current DB and I want to
restore "as is" on the fail over server.   On the fail over I am using
the command "psql -U <username> < <sql script>" to try to restore the
the DB but when I press enter it does not ask me for my password and
goes directly to the FATAL error of password is not authenticated.
Any idea what I am doing wrong?  I am following the instructions given
by our vendor in how to back up and restore the pg DB.

System Info:
Win2003 server

Demian QuiƱonez
Systems Developer

---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate
       subscribe-nomail command to majordomo(at)postgresql(dot)org so that your
       message can get through to the mailing list cleanly 

In response to

pgsql-novice by date

Next:From: Loredana CurugiuDate: 2007-08-10 11:33:52
Subject: Install two different versions of postgres which should run in parallel
Previous:From: Oliver ElphickDate: 2007-08-10 05:44:15
Subject: Re: restoring with sql script

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group