pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruce Momjian <bruce@momjian.us>
To: Jeremy Wilson <jwilson@clover.co>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
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 12:50:26 -0500
Message-ID: <20201113175026.GA10979@momjian.us> (raw)
In-Reply-To: <AEFF7631-CE21-4BD3-AEBF-33BED4F1E5E8@clover.co>
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>

On Fri, Nov 13, 2020 at 12:06:34PM -0500, Jeremy Wilson wrote:
> 
> 
> > On Nov 13, 2020, at 12:00 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> > 
> > Are you by any chance trying to preload any of the postgis-related
> > extensions?  If so, try not doing that.
> 
> 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.  Also, try
running this query and show us what is not the default:

	SELECT name, current_setting(name), source
	FROM pg_settings
	WHERE source NOT IN ('default', 'override');

-- 
  Bruce Momjian  <bruce@momjian.us>        https://momjian.us
  EnterpriseDB                             https://enterprisedb.com

  The usefulness of a cup is in its emptiness, Bruce Lee






view thread (30+ messages)  latest in thread

Message-ID: <20201113175026.GA10979@momjian.us>
Permalink:  ../20201113175026.GA10979@momjian.us/
Also on:    postgresql.org/message-id/20201113175026.GA10979@momjian.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: bruce@momjian.us, jwilson@clover.co, tgl@sss.pgh.pa.us, 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: <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>

* 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