Re: Issue upgrading from 9.5 to 13 with pg_upgrade: "connection to database failed: FATAL: database "template1" does not exist"

From: Devrim Gündüz <devrim(at)gunduz(dot)org>
To: Jeremy Wilson <jwilson(at)clover(dot)co>, Magnus Hagander <magnus(at)hagander(dot)net>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Bruce Momjian <bruce(at)momjian(dot)us>, Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>, pgsql-general <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: Issue upgrading from 9.5 to 13 with pg_upgrade: "connection to database failed: FATAL: database "template1" does not exist"
Date: 2020-11-13 22:43:05
Message-ID: bd92b84745dd33f8c347ce9d7370b51a047680bc.camel@gunduz.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,

On Fri, 2020-11-13 at 14:19 -0500, Jeremy Wilson wrote:
> > If that shows up two different "proj" libraries, then you have that
> > same problem.
>
> Just wanted to reply that this was indeed an issue.  After removing
> the proj RPMs and reinstalling, the upgrade seems to be running now.

(rpm packager speaking)

Ouch. I partially fixed this problem (clean installations should not
have this issue, as no other package requires PROJ, and we already have
our own PROJ.

Let me see what I can do to fix this completely.

Regards,
--
Devrim Gündüz
Open Source Solution Architect, Red Hat Certified Engineer
Twitter: @DevrimGunduz , @DevrimGunduzTR

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Atul Kumar 2020-11-13 22:49:35 Error: checkpoint occurs too frequently
Previous Message Kevin Brannen 2020-11-13 21:57:36 RE: New "function tables" in V13 documentation