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: Marcin Giedz <marcin.giedz@arise.pl>
Cc: Laurenz Albe <laurenz.albe@cybertec.at>
Cc: Magnus Hagander <magnus@hagander.net>
Cc: Adrian Klaver <adrian.klaver@aklaver.com>
Cc: Devrim Gündüz <devrim@gunduz.org>
Cc: pgsql-general <pgsql-general@lists.postgresql.org>
Subject: Re: pg_upgrade from 12 to 13 failes with plpython2
Date: Wed, 18 Nov 2020 16:45:24 -0500
Message-ID: <1004475.1605735924@sss.pgh.pa.us> (raw)
In-Reply-To: <20201118210124.GB13839@momjian.us>
References: <296a13f436781af544e623671793a7280bf2fb23.camel@cybertec.at>
	<528508727.1496543.1605721842899.JavaMail.zimbra@arise.pl>
	<993885.1605722905@sss.pgh.pa.us>
	<1359566111.1497149.1605726303756.JavaMail.zimbra@arise.pl>
	<996837.1605726802@sss.pgh.pa.us>
	<1372359469.1497249.1605728536470.JavaMail.zimbra@arise.pl>
	<999795.1605729240@sss.pgh.pa.us>
	<1948396366.1497285.1605729598546.JavaMail.zimbra@arise.pl>
	<20201118200638.GA13839@momjian.us>
	<1001208.1605731156@sss.pgh.pa.us>
	<20201118210124.GB13839@momjian.us>

Bruce Momjian <bruce@momjian.us> writes:
> On Wed, Nov 18, 2020 at 03:25:56PM -0500, Tom Lane wrote:
>> Maybe pg_upgrade should print the actual function names, not just the
>> probin values.

> It is done that way so we don't overwhelm them with lots of function
> names, and they can focus on the library.  I was thinking of showing
> them a query that would allow them to investigate.

These days "focus on the extension" would be more helpful.  Maybe
we could check to see if all the functions referencing a given .so
belong to the same extension, and if so complain about that extension?

I think there's a reasonable argument that functions that don't
belong to any known extension should be printed individually,
because more than likely the user's gonna have to clean them up
manually, as we saw here.

			regards, tom lane





view thread (34+ messages)  latest in thread

Message-ID: <1004475.1605735924@sss.pgh.pa.us>
Permalink:  ../1004475.1605735924@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/1004475.1605735924@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, marcin.giedz@arise.pl, laurenz.albe@cybertec.at, magnus@hagander.net, adrian.klaver@aklaver.com, devrim@gunduz.org
  Subject: Re: pg_upgrade from 12 to 13 failes with plpython2
  In-Reply-To: <1004475.1605735924@sss.pgh.pa.us>
  References: <296a13f436781af544e623671793a7280bf2fb23.camel@cybertec.at> <528508727.1496543.1605721842899.JavaMail.zimbra@arise.pl> <993885.1605722905@sss.pgh.pa.us> <1359566111.1497149.1605726303756.JavaMail.zimbra@arise.pl> <996837.1605726802@sss.pgh.pa.us> <1372359469.1497249.1605728536470.JavaMail.zimbra@arise.pl> <999795.1605729240@sss.pgh.pa.us> <1948396366.1497285.1605729598546.JavaMail.zimbra@arise.pl> <20201118200638.GA13839@momjian.us> <1001208.1605731156@sss.pgh.pa.us> <20201118210124.GB13839@momjian.us> <1004475.1605735924@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