Re: Urgent: Restoring many schemas in a database

Поиск
Список
Период
Сортировка
От Jonathan Gardner
Тема Re: Urgent: Restoring many schemas in a database
Дата
Msg-id 200306051319.09566.jgardner@jonathangardner.net
обсуждение исходный текст
Ответ на Urgent: Restoring many schemas in a database  ("Stephen J. Thompson" <stephen@cass-ltd.co.uk>)
Список pgsql-admin
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thursday 05 June 2003 03:49, Stephen J. Thompson wrote:
> Hello all,
>
> I am trying to restore a 7.3 database with many schemas and schema users in
> it. The issue I am having is that there are many \connect statements in the
> backup file and it keeps asking me for a new password each time. Is there
> an easier way than examining the file and carefully following the connect
> statement orders and entering the correct password. (btw there are over 100
> connect statements).
>

Put a .pgpass file in the home directory of the user.
It should have a line:
*:*:*:<username>:<password>

- --
Jonathan Gardner <jgardner@jonathangardner.net>
(was jgardn@alumni.washington.edu)
Live Free, Use Linux!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+36W3WgwF3QvpWNwRAnvkAJ4zcFGBMemqGRqYTRTdcPQTZqUvwACeMmIn
Lgiq5VrDOowcpmdSbn5EtDU=
=Ldm6
-----END PGP SIGNATURE-----

В списке pgsql-admin по дате отправления:

Предыдущее
От: "David A. Leedom"
Дата:
Сообщение: Re: Backup and Restore
Следующее
От: "Vlad Efman"
Дата:
Сообщение: unsubscribe