From: Jeff Frost <jeff@pgexperts.com>
To: Marc Fromm <Marc.Fromm@wwu.edu>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Keith <keith@keithf4.com>
Cc: Raghavendra <raghavendra.rao@enterprisedb.com>
Cc: Keith Fiske <keith@omniti.com>
Cc: pgsql-admin@postgresql.org <pgsql-admin@postgresql.org>
Subject: Re: migrating to 9.2 created blank dbs
Date: Mon, 4 May 2015 09:40:44 -0700
Message-ID: <12B3F4BE-B5B0-4955-808F-3649EC1F7A00@pgexperts.com> (raw)
In-Reply-To: <SN1PR0201MB15663C77E1FD1FFB3CA0DE049DD20@SN1PR0201MB1566.namprd02.prod.outlook.com>
References: <DM2PR0201MB10705274CE0678AC115347AF9DD50@DM2PR0201MB1070.namprd02.prod.outlook.com>
<CAG1_KcCzq71a5F-ukHvQB4q-y34R1C=tsVYKQcZJgJr5orgzEA@mail.gmail.com>
<CA+h6AhjFKxWzr+su4w=fchtgOtZHeOc4s0dg7KVfcp7kVtfEkA@mail.gmail.com>
<SN1PR0201MB1566B1E4175D6905894C10CB9DD20@SN1PR0201MB1566.namprd02.prod.outlook.com>
<CAHw75vvmsYV+DD_y4fTF7+0X8fT59_=1dFt3-gO1TNxZPu7sAA@mail.gmail.com>
<32752.1430755649@sss.pgh.pa.us>
<SN1PR0201MB15663C77E1FD1FFB3CA0DE049DD20@SN1PR0201MB1566.namprd02.prod.outlook.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-admin>
Any chance you’re just misinterpreting the new more verbose output of psql’s \l command?
Nowadays, it looks like this:
postgres=# \l
List of databases
Name | Owner | Encoding | Collate | Ctype | Access privileges
---------------+------------+----------+---------+-------+-----------------------
postgres | postgres | UTF8 | C | C |
template0 | postgres | UTF8 | C | C | =c/postgres +
| | | | | postgres=CTc/postgres
template1 | postgres | UTF8 | C | C | =c/postgres +
| | | | | postgres=CTc/postgres
(4 rows)
But there are still only 3 databases being listed above.
> On May 4, 2015, at 9:24 AM, Marc Fromm <Marc.Fromm@wwu.edu> wrote:
>
> Running the select statement gives me a list of all my databases. The only thing that looks suspicious are a few databases have stuff like this in the datacl column " {postgres=CT/postgres,=T/postgres}". The number of databases with that is suspiciously equal to the number of blanks created.
>
> Marc
>
> -----Original Message-----
> From: Tom Lane [mailto:tgl@sss.pgh.pa.us]
> Sent: Monday, May 04, 2015 9:07 AM
> To: Keith
> Cc: Marc Fromm; Raghavendra; Keith Fiske; pgsql-admin@postgresql.org
> Subject: Re: [ADMIN] migrating to 9.2 created blank dbs
>
>> 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.
>
> FWIW, this seems to match a symptom we've heard of occasionally in which the source server's catalogs are corrupted. If the 8.1 server is still online it would be interesting to connect to it manually and see what you get from "select * from pg_database”.
--
Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin
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: jeff@pgexperts.com, Marc.Fromm@wwu.edu, tgl@sss.pgh.pa.us, keith@keithf4.com, raghavendra.rao@enterprisedb.com, keith@omniti.com
Subject: Re: migrating to 9.2 created blank dbs
In-Reply-To: <12B3F4BE-B5B0-4955-808F-3649EC1F7A00@pgexperts.com>
References: <DM2PR0201MB10705274CE0678AC115347AF9DD50@DM2PR0201MB1070.namprd02.prod.outlook.com> <CAG1_KcCzq71a5F-ukHvQB4q-y34R1C=tsVYKQcZJgJr5orgzEA@mail.gmail.com> <CA+h6AhjFKxWzr+su4w=fchtgOtZHeOc4s0dg7KVfcp7kVtfEkA@mail.gmail.com> <SN1PR0201MB1566B1E4175D6905894C10CB9DD20@SN1PR0201MB1566.namprd02.prod.outlook.com> <CAHw75vvmsYV+DD_y4fTF7+0X8fT59_=1dFt3-gO1TNxZPu7sAA@mail.gmail.com> <32752.1430755649@sss.pgh.pa.us> <SN1PR0201MB15663C77E1FD1FFB3CA0DE049DD20@SN1PR0201MB1566.namprd02.prod.outlook.com> <12B3F4BE-B5B0-4955-808F-3649EC1F7A00@pgexperts.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