pg.ddx.io pgsql-bugs@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pg_upgrade from PostgreSQL 12.4 to PostgreSQL 13.2 on Windows 10 failes because of missing function pg_catalog.ascii_to_mic 2+ messages / 2 participants [nested] [flat]
* pg_upgrade from PostgreSQL 12.4 to PostgreSQL 13.2 on Windows 10 failes because of missing function pg_catalog.ascii_to_mic @ 2021-03-10 10:46 Marcus Müller <m.mueller@schwarz-infosysteme.de> 2021-03-10 15:16 ` Re: pg_upgrade from PostgreSQL 12.4 to PostgreSQL 13.2 on Windows 10 failes because of missing function pg_catalog.ascii_to_mic Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 1 reply; 2+ messages in thread From: Marcus Müller @ 2021-03-10 10:46 UTC (permalink / raw) To: pgsql-bugs@lists.postgresql.org pg_upgrade should actually correctly handle features that no longer exist in a new version. This seems like a bug. ----------------------------------------------------------------- pg_upgrade run on Wed Mar 10 10:36:51 2021 ----------------------------------------------------------------- 2021-03-10 10:36:52.142 CET [] LOG: starting PostgreSQL 12.4, compiled by Visual C++ build 1914, 64-bit 2021-03-10 10:36:52.146 CET [] LOG: erwarte Verbindungen auf IPv6-Adresse »::«, Port 50434 2021-03-10 10:36:52.147 CET [] LOG: erwarte Verbindungen auf IPv4-Adresse »0.0.0.0«, Port 50434 2021-03-10 10:36:52.226 CET [] LOG: Logausgabe wird an Logsammelprozess umgeleitet 2021-03-10 10:36:52.226 CET [] TIPP: Die weitere Logausgabe wird im Verzeichnis »log« erscheinen. 2021-03-10 10:36:58.137 CET [14780] LOG: PostgreSQL 13.2, compiled by Visual C++ build 1914, 64-bit startet 2021-03-10 10:36:58.145 CET [14780] LOG: erwarte Verbindungen auf IPv6-Adresse »::1«, Port 50433 2021-03-10 10:36:58.146 CET [14780] LOG: erwarte Verbindungen auf IPv4-Adresse »127.0.0.1«, Port 50433 2021-03-10 10:36:58.205 CET [17576] LOG: Datenbanksystem wurde am 2021-03-10 10:36:49 CET heruntergefahren 2021-03-10 10:36:58.222 CET [14780] LOG: Datenbanksystem ist bereit, um Verbindungen anzunehmen 2021-03-10 10:37:00.640 CET [14780] LOG: intelligentes Herunterfahren verlangt 2021-03-10 10:37:00.648 CET [14780] LOG: Background-Worker »logical replication launcher« (PID 18264) beendete mit Status 1 2021-03-10 10:37:00.651 CET [15988] LOG: fahre herunter 2021-03-10 10:37:00.694 CET [14780] LOG: Datenbanksystem ist heruntergefahren 2021-03-10 10:37:02.293 CET [7748] LOG: PostgreSQL 13.2, compiled by Visual C++ build 1914, 64-bit startet 2021-03-10 10:37:02.301 CET [7748] LOG: erwarte Verbindungen auf IPv6-Adresse »::1«, Port 50433 2021-03-10 10:37:02.302 CET [7748] LOG: erwarte Verbindungen auf IPv4-Adresse »127.0.0.1«, Port 50433 2021-03-10 10:37:02.366 CET [15204] LOG: Datenbanksystem wurde am 2021-03-10 10:37:01 CET heruntergefahren 2021-03-10 10:37:02.407 CET [7748] LOG: Datenbanksystem ist bereit, um Verbindungen anzunehmen 2021-03-10 10:37:07.199 CET [18868] FEHLER: Funktion pg_catalog.ascii_to_mic(integer, integer, cstring, internal, integer) existiert nicht 2021-03-10 10:37:07.199 CET [18868] ANWEISUNG: GRANT ALL ON FUNCTION "pg_catalog"."ascii_to_mic"(integer, integer, "cstring", "internal", integer) TO "wwsuser"; 2021-03-10 10:37:07.245 CET [7748] LOG: schnelles Herunterfahren verlangt 2021-03-10 10:37:07.247 CET [7748] LOG: etwaige aktive Transaktionen werden abgebrochen 2021-03-10 10:37:07.252 CET [7748] LOG: Background-Worker »logical replication launcher« (PID 11628) beendete mit Status 1 2021-03-10 10:37:07.255 CET [18024] LOG: fahre herunter 2021-03-10 10:37:07.381 CET [7748] LOG: Datenbanksystem ist heruntergefahren Mit freundlichen Grüßen Marcus Müller Schwarz Informationssysteme GmbH Stettiner Str. 7 88250 Weingarten Telefon: +49 751 569 659 - 32 Telefax: +49 751 569 659 - 19 E-Mail: m.mueller@schwarz-infosysteme.de Web: www.schwarz-infosysteme.de Sitz der Gesellschaft: 88250 Weingarten Registergericht: Amtsgericht Ulm, HRB 600448 Geschäftsführer: Dieter Schwarz ^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: pg_upgrade from PostgreSQL 12.4 to PostgreSQL 13.2 on Windows 10 failes because of missing function pg_catalog.ascii_to_mic 2021-03-10 10:46 pg_upgrade from PostgreSQL 12.4 to PostgreSQL 13.2 on Windows 10 failes because of missing function pg_catalog.ascii_to_mic Marcus Müller <m.mueller@schwarz-infosysteme.de> @ 2021-03-10 15:16 ` Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 2+ messages in thread From: Tom Lane @ 2021-03-10 15:16 UTC (permalink / raw) To: Marcus Müller <m.mueller@schwarz-infosysteme.de>; +Cc: pgsql-bugs@lists.postgresql.org =?iso-8859-1?Q?Marcus_M=FCller?= <m.mueller@schwarz-infosysteme.de> writes: > pg_upgrade should actually correctly handle features that no longer exist in > a new version. This seems like a bug. > 2021-03-10 10:37:07.199 CET [18868] FEHLER: Funktion > pg_catalog.ascii_to_mic(integer, integer, cstring, internal, integer) > existiert nicht > 2021-03-10 10:37:07.199 CET [18868] ANWEISUNG: GRANT ALL ON FUNCTION > "pg_catalog"."ascii_to_mic"(integer, integer, "cstring", "internal", > integer) TO "wwsuser"; Yeah, that's a known issue, but fixing it is harder than you might think --- people have been poking at a fix for some time without success. There's no good place to locate knowledge about things having gone away. Since I can see no actual reason to grant nondefault permissions on an encoding conversion function, I'd suggest just revoking those in the source DB before upgrading. regards, tom lane ^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2021-03-10 15:16 UTC | newest] Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2021-03-10 10:46 pg_upgrade from PostgreSQL 12.4 to PostgreSQL 13.2 on Windows 10 failes because of missing function pg_catalog.ascii_to_mic Marcus Müller <m.mueller@schwarz-infosysteme.de> 2021-03-10 15:16 ` Tom Lane <tgl@sss.pgh.pa.us>
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