Re: pg_upgrade failing from 9.3 to 9.4 because "template0" already exists

From: Matt Landry <lelnet(dot)matt(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: pg_upgrade failing from 9.3 to 9.4 because "template0" already exists
Date: 2015-03-06 20:25:33
Message-ID: 54FA0D3D.7040804@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 03/06/2015 01:55 PM, Adrian Klaver wrote:
>
> So on the original cluster, log in using psql and do \l and post the
> results here. Thanks.
[...]
> Meant to add to previous post, to check with issue that Stephen
> mentioned do:
>
> select datname, datallowconn from pg_database ;
>
>
>
postgres=# \l
List of databases
Name | Owner | Encoding | Collate | Ctype | Access
privileges
-----------+----------+----------+-------------+-------------+-----------------------
postgres | postgres | UTF8 | en_US.UTF-8 | en_US.UTF-8 |
reporting | postgres | UTF8 | en_US.UTF-8 | en_US.UTF-8 |
template0 | postgres | UTF8 | en_US.UTF-8 | en_US.UTF-8 |
=c/postgres +
| | | | |
postgres=CTc/postgres
template1 | postgres | UTF8 | en_US.UTF-8 | en_US.UTF-8 |
=c/postgres +
| | | | |
postgres=CTc/postgres
(4 rows)

postgres=# select datname, datallowconn from pg_database ;
datname | datallowconn
-----------+--------------
template1 | t
template0 | t
postgres | t
reporting | t
(4 rows)

postgres=#

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message John R Pierce 2015-03-06 20:40:17 Re: #PERSONAL# Reg: date going as 01/01/0001
Previous Message Adrian Klaver 2015-03-06 19:55:42 Re: pg_upgrade failing from 9.3 to 9.4 because "template0" already exists