Re: migrating to 9.2 created blank dbs - Mailing list pgsql-admin

From Raghavendra
Subject Re: migrating to 9.2 created blank dbs
Date
Msg-id CA+h6AhjFKxWzr+su4w=fchtgOtZHeOc4s0dg7KVfcp7kVtfEkA@mail.gmail.com
Whole thread Raw
In response to Re: migrating to 9.2 created blank dbs  (Keith Fiske <keith@omniti.com>)
Responses Re: migrating to 9.2 created blank dbs  (Marc Fromm <Marc.Fromm@wwu.edu>)
List pgsql-admin

On Fri, May 1, 2015 at 6:39 PM, Marc Fromm <Marc.Fromm@wwu.edu> wrote:

I setup a server running postgresql-server-9.2.10-2.el7_1.x86_64. After restoring my databases form a system running postgresql-server-8.1.23-10.el5_10 (created with pg_dumpall), several blank databases/entries were created.

When I list the database from the command line it shows several entries like:

                         |          |           |         |       | =T/postgres

 

After importing the databases is there a cleanup command of some sort?

These blank databases/entries do not show in PhpPgAdmin, yet my backup script tries to backup a database called “|” 


​Is this behaviour, after you have imported the databases and ANALYZE cluster ?. By-chance if you have missed to performe ANALYZE ​on post import, please do it.

Did you run the 9.2 version of pg_dumpall or the 8.1 version to create your original dump file? You should run the 9.2 version on the 8.1 database if possible.


​+1

---
Regards,
Raghavendra
EnterpriseDB Corporation


pgsql-admin by date:

Previous
From: Keith Fiske
Date:
Subject: Re: migrating to 9.2 created blank dbs
Next
From: Albe Laurenz
Date:
Subject: Re: Re: How do I install/run PostgreSQL 9.4 64 bit on Windows 7 Professional?