From: Justin Georgeson <jgeorgeson@unboundtech.com>
To: pgsql-admin@postgresql.org
Subject: pg_dumpall doesn't work
Date: Fri, 13 Dec 2002 14:03:18 -0600
Message-ID: <3DFA3D06.9080308@unboundtech.com> (raw)
This is what I get when I do a pg_dumpall. I have *no* idea what to do
here. I'm trying to migrate from 7.0.3 to 7.2.1, and the manual said to
use pg_dumpall for this rather than using pg_dump on each database
(which works). *Please* help.
[postgres@everest /tmp]$ pg_dumpall -u > file
Password: psql: Password authentication failed for user 'postgres'
\connect template1
select datdba into table tmp_pg_shadow from pg_database where
datname = 'template1';
delete from pg_shadow where usesysid <> tmp_pg_shadow.datdba;
drop table tmp_pg_shadow;
copy pg_shadow from stdin;
Password:
psql: Password authentication failed for user 'postgres'
\.
delete from pg_group;
copy pg_group from stdin;
Password:
psql: Password authentication failed for user 'postgres'
\.
Password:
[postgres@everest /tmp]$ cat file
\connect template1
select datdba into table tmp_pg_shadow from pg_database where
datname = 'template1';
delete from pg_shadow where usesysid <> tmp_pg_shadow.datdba;
drop table tmp_pg_shadow;
copy pg_shadow from stdin;
\.
delete from pg_group;
copy pg_group from stdin;
\.
[postgres@everest /tmp]$ psql -V
psql (PostgreSQL) 7.0.3
contains readline, history, multibyte support
Portions Copyright (c) 1996-2000, PostgreSQL, Inc
Portions Copyright (c) 1996 Regents of the University of California
Read the file COPYRIGHT or use the command \copyright to see the
usage and distribution terms.
[postgres@everest /tmp]$
--
Justin Georgeson
UnBound Technologies, Inc.
http://www.unboundtech.com
Main 713.329.9330
Fax 713.460.4051
Mobile 512.789.1962
5295 Hollister Road
Houston, TX 77040
Real Applications using Real Wireless Intelligence(tm)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: jgeorgeson@unboundtech.com
Subject: Re: pg_dumpall doesn't work
In-Reply-To: <3DFA3D06.9080308@unboundtech.com>
References: <3DFA3D06.9080308@unboundtech.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox