pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Bruce Momjian <bruce@momjian.us>
Cc: Jeremy Wilson <jwilson@clover.co>
Cc: Adrian Klaver <adrian.klaver@aklaver.com>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: Issue upgrading from 9.5 to 13 with pg_upgrade: "connection to database failed: FATAL: database "template1" does not exist"
Date: Fri, 13 Nov 2020 13:01:03 -0500
Message-ID: <321632.1605290463@sss.pgh.pa.us> (raw)
In-Reply-To: <20201113175026.GA10979@momjian.us>
References: <5d5bd3f7-8158-97fa-9d6e-064af852f5ec@aklaver.com>
	<6DBC6B57-422B-4A5C-8116-5615FEBC0DF7@clover.co>
	<286345.1605280985@sss.pgh.pa.us>
	<1F006B57-B6A3-40B0-B92D-C31BAEF52CA1@clover.co>
	<ea474230-2b08-ccd5-0edb-bc1c976089ce@aklaver.com>
	<12B3647B-5BE0-4CDA-9EC8-317AB59810CB@clover.co>
	<58943bf6-edf8-b5f2-8888-e5595a712ec2@aklaver.com>
	<7C14FAD0-775D-4F13-8E3C-97B66284BFFC@clover.co>
	<290630.1605286838@sss.pgh.pa.us>
	<AEFF7631-CE21-4BD3-AEBF-33BED4F1E5E8@clover.co>
	<20201113175026.GA10979@momjian.us>

Bruce Momjian <bruce@momjian.us> writes:
> On Fri, Nov 13, 2020 at 12:06:34PM -0500, Jeremy Wilson wrote:
>> Not sure what you mean by this - I’ve installed the postgis packages for 9.5 and 13 and the extensions are installed and working in 9.5, but I’m not doing anything but initdb and then pg_upgrade for 13.

> I think he is asking about shared_preload_libraries,
> local_preload_libraries, and session_preload_libraries.

Yeah, but if Jeremy isn't touching the new cluster's config between
initdb and pg_upgrade, those won't be set.

I'm kind of baffled at this point.  It seems pretty likely that this
is related to the v13 postgis problems we've heard a few reports of,
but the symptoms are a lot different.

Best advice I can give is to go inquire on the postgis mailing lists
as to whether they've figured out the "free(): invalid pointer"
issue.  (I assume that dropping postgis from the source DB is not
an option...)

			regards, tom lane





view thread (30+ messages)  latest in thread

Message-ID: <321632.1605290463@sss.pgh.pa.us>
Permalink:  ../321632.1605290463@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/321632.1605290463@sss.pgh.pa.us

 · 

reply

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-general@postgresql.org
  Cc: tgl@sss.pgh.pa.us, bruce@momjian.us, jwilson@clover.co, adrian.klaver@aklaver.com
  Subject: Re: Issue upgrading from 9.5 to 13 with pg_upgrade: "connection to database failed: FATAL: database "template1" does not exist"
  In-Reply-To: <321632.1605290463@sss.pgh.pa.us>
  References: <5d5bd3f7-8158-97fa-9d6e-064af852f5ec@aklaver.com> <6DBC6B57-422B-4A5C-8116-5615FEBC0DF7@clover.co> <286345.1605280985@sss.pgh.pa.us> <1F006B57-B6A3-40B0-B92D-C31BAEF52CA1@clover.co> <ea474230-2b08-ccd5-0edb-bc1c976089ce@aklaver.com> <12B3647B-5BE0-4CDA-9EC8-317AB59810CB@clover.co> <58943bf6-edf8-b5f2-8888-e5595a712ec2@aklaver.com> <7C14FAD0-775D-4F13-8E3C-97B66284BFFC@clover.co> <290630.1605286838@sss.pgh.pa.us> <AEFF7631-CE21-4BD3-AEBF-33BED4F1E5E8@clover.co> <20201113175026.GA10979@momjian.us> <321632.1605290463@sss.pgh.pa.us>

* 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