Search Postgresql Archives

Error during restore

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
 
I´m trying to restore a client cluster in my Linux box but during the restore the following error is reported:
__________________________________________________________
DELETE 0
CREATE USER
 '
\set ON_ERROR_STOP 'true'
--
-- PostgreSQL database cluster dump
--
\connect "template1"
You are now connected to database "template1".
--
-- Users
--
DELETE FROM pg_shadow WHERE usesysid <> (SELECT datdba FROM pg_database WHERE datname = 'template0');
CREATE USER "TOTALL" WITH SYSID 100 PASSWORD 'md5fa2b2cda5e1d8577a287f118620a4d58' CREATEDB CREATEUSER;
ALTER USER "BENK" SET search_path TO '"BENK", public, pg_catalog';
psql:dumpall7.4.6_0902:14: ERROR:  schema ""BENK", public, pg_catalog" does not exist
__________________________________________________________
The schema is only created somewhere after this commands. It´s like the execution order is wrong.
 
I used pg_dumpall withou any options to create the dump.
 
What could be wrong?
 
Reimer
 


Yahoo! Acesso Grátis - Internet rápida e grátis. Instale o discador do Yahoo! agora.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux