<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Aptos;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
@font-face
{font-family:Monaco;
panose-1:0 0 0 0 0 0 0 0 0 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
font-size:12.0pt;
font-family:"Aptos",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
p.gmail-p1, li.gmail-p1, div.gmail-p1
{mso-style-name:gmail-p1;
mso-margin-top-alt:auto;
margin-right:0in;
mso-margin-bottom-alt:auto;
margin-left:0in;
font-size:12.0pt;
font-family:"Aptos",sans-serif;}
span.gmail-s1
{mso-style-name:gmail-s1;}
p.m8611334095636051211gmail-p1, li.m8611334095636051211gmail-p1, div.m8611334095636051211gmail-p1
{mso-style-name:m_8611334095636051211gmail-p1;
mso-margin-top-alt:auto;
margin-right:0in;
mso-margin-bottom-alt:auto;
margin-left:0in;
font-size:12.0pt;
font-family:"Aptos",sans-serif;}
span.m8611334095636051211gmail-s1
{mso-style-name:m_8611334095636051211gmail-s1;}
span.m8611334095636051211gmail-apple-converted-space
{mso-style-name:m_8611334095636051211gmail-apple-converted-space;}
p.m8611334095636051211gmail-p2, li.m8611334095636051211gmail-p2, div.m8611334095636051211gmail-p2
{mso-style-name:m_8611334095636051211gmail-p2;
mso-margin-top-alt:auto;
margin-right:0in;
mso-margin-bottom-alt:auto;
margin-left:0in;
font-size:12.0pt;
font-family:"Aptos",sans-serif;}
span.EmailStyle24
{mso-style-type:personal-reply;
font-family:"Aptos",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:11.0pt;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple style='word-wrap:break-word'><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt'>We haven’t decided on a patch version release date. I’m thinking a little before PostgreSQL 17.1 would be a good time, to catch the bulk of new folks upgrading.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'>I’ve ticketed the issue here - <a href="https://trac.osgeo.org/postgis/ticket/5791">https://trac.osgeo.org/postgis/ticket/5791</a> and will address this week.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'>Thanks for the report,<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'>Regina<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'><o:p> </o:p></span></p><div style='border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt'><div><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'>From:</span></b><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'> Kered <dereksunpublic@gmail.com> <br><b>Sent:</b> Tuesday, October 8, 2024 3:46 PM<br><b>To:</b> Regina Obe <lr@pcorp.us><br><b>Subject:</b> Re: Failure during Postgres major version upgrade due to deprecated long_xact funcs<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal>Hi Regina,<o:p></o:p></p><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>After adding those two to postgis_legacy.c and rebuilding it, now upgrade can complete. Thanks for the help!<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=gmail-p1 style='margin:0in;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-size-adjust:none;font-kerning:auto;font-feature-settings:normal;font-stretch:normal'><span class=gmail-s1><span style='font-family:"Monaco",serif;color:black;background:white'>Upgrade Complete</span></span><span style='font-family:"Monaco",serif'><o:p></o:p></span></p><p class=gmail-p1 style='margin:0in;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-size-adjust:none;font-kerning:auto;font-feature-settings:normal;font-stretch:normal'><span class=gmail-s1><span style='font-family:"Monaco",serif;color:black;background:white'>----------------</span></span><span style='font-family:"Monaco",serif'><o:p></o:p></span></p><p class=gmail-p1 style='margin:0in;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-size-adjust:none;font-kerning:auto;font-feature-settings:normal;font-stretch:normal'><span class=gmail-s1><span style='font-family:"Monaco",serif;color:black;background:white'>Optimizer statistics are not transferred by pg_upgrade.</span></span><span style='font-family:"Monaco",serif'><o:p></o:p></span></p><p class=gmail-p1 style='margin:0in;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-size-adjust:none;font-kerning:auto;font-feature-settings:normal;font-stretch:normal'><span class=gmail-s1><span style='font-family:"Monaco",serif;color:black;background:white'>Once you start the new server, consider running:</span></span><span style='font-family:"Monaco",serif'><o:p></o:p></span></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>May I know when the new patch version will be released? <o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Derek<o:p></o:p></p></div></div><p class=MsoNormal><o:p> </o:p></p><div><div><p class=MsoNormal>On Tue, Oct 8, 2024 at 12:14<span style='font-family:"Arial",sans-serif'> </span>PM Regina Obe <<a href="mailto:lr@pcorp.us">lr@pcorp.us</a>> wrote:<o:p></o:p></p></div><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in'><div><div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt'>Thanks for the alert. I suspect we forgot to add that function to postgis_legacy, so that needs to be done. We’ll do that in next 3.4. patch update.</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt'> </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt'>For now I recommend before upgrading (especially with pg_upgrade) dropping it in the extension.</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt'> </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt'>So </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt'> </span><o:p></o:p></p><p class=m8611334095636051211gmail-p1 style='margin:0in'><span class=m8611334095636051211gmail-s1><span style='font-family:"Monaco",serif;color:black;background:white'>ALTER EXTENSION "postgis" DROP FUNCTION "public"."checkauthtrigger"() CASCADE;</span></span><o:p></o:p></p><p class=m8611334095636051211gmail-p1 style='margin:0in'><span class=m8611334095636051211gmail-s1><span style='font-family:"Monaco",serif;color:black;background:white'> </span></span><o:p></o:p></p><p class=m8611334095636051211gmail-p1 style='margin:0in'><span style='font-family:"Monaco",serif'> </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-size-adjust:none;font-kerning:auto;font-feature-settings:normal;font-stretch:normal'><span style='font-size:11.0pt'> </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt'> </span><o:p></o:p></p><div style='border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt'><div><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><b><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'>From:</span></b><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'> Kered <<a href="mailto:dereksunpublic@gmail.com" target="_blank">dereksunpublic@gmail.com</a>> <br><b>Sent:</b> Tuesday, October 8, 2024 12:23 PM<br><b>To:</b> <a href="mailto:postgis-users@lists.osgeo.org" target="_blank">postgis-users@lists.osgeo.org</a><br><b>Subject:</b> Failure during Postgres major version upgrade due to deprecated long_xact funcs</span><o:p></o:p></p></div></div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Hi there,<o:p></o:p></p><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>I saw postgres upgrade failure with following message (pg16.1 to 17.0, postgis 3.4.0 to postgis 3.5.0)<o:p></o:p></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p></div><div><p class=m8611334095636051211gmail-p1 style='margin:0in;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-size-adjust:none;font-kerning:auto;font-feature-settings:normal;font-stretch:normal'><span class=m8611334095636051211gmail-s1><span style='font-family:"Monaco",serif;color:black;background:white'>pg_restore: creating FUNCTION "public.checkauth("text", "text", "text")"</span></span><o:p></o:p></p><p class=m8611334095636051211gmail-p1 style='margin:0in;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-size-adjust:none;font-kerning:auto;font-feature-settings:normal;font-stretch:normal'><span class=m8611334095636051211gmail-s1><span style='font-family:"Monaco",serif;color:black;background:white'>pg_restore: creating COMMENT "public.FUNCTION "checkauth"("text", "text", "text")"</span></span><o:p></o:p></p><p class=m8611334095636051211gmail-p1 style='margin:0in;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-size-adjust:none;font-kerning:auto;font-feature-settings:normal;font-stretch:normal'><span class=m8611334095636051211gmail-s1><span style='font-family:"Monaco",serif;color:black;background:white'>pg_restore: creating FUNCTION "public.checkauthtrigger()"</span></span><o:p></o:p></p><p class=m8611334095636051211gmail-p1 style='margin:0in;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-size-adjust:none;font-kerning:auto;font-feature-settings:normal;font-stretch:normal'><span class=m8611334095636051211gmail-s1><span style='font-family:"Monaco",serif;color:black;background:white'>pg_restore: while PROCESSING TOC:</span></span><o:p></o:p></p><p class=m8611334095636051211gmail-p1 style='margin:0in;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-size-adjust:none;font-kerning:auto;font-feature-settings:normal;font-stretch:normal'><span class=m8611334095636051211gmail-s1><span style='font-family:"Monaco",serif;color:black;background:white'>pg_restore: from TOC entry 558; 1255 18735 FUNCTION checkauthtrigger() pguser</span></span><o:p></o:p></p><p class=m8611334095636051211gmail-p1 style='margin:0in;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-size-adjust:none;font-kerning:auto;font-feature-settings:normal;font-stretch:normal'><span class=m8611334095636051211gmail-s1><span style='font-family:"Monaco",serif;color:black;background:white'>pg_restore: error: could not execute query: ERROR:</span></span><span class=m8611334095636051211gmail-apple-converted-space><span style='font-family:"Monaco",serif;color:black;background:white'> </span></span><span class=m8611334095636051211gmail-s1><span style='font-family:"Monaco",serif;color:black;background:white'>could not find function "check_authorization" in file "/local/home/pguser/temp/local_pg/installs/pg170/lib/postgresql/postgis-3.so"</span></span><o:p></o:p></p><p class=m8611334095636051211gmail-p1 style='margin:0in;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-size-adjust:none;font-kerning:auto;font-feature-settings:normal;font-stretch:normal'><span class=m8611334095636051211gmail-s1><span style='font-family:"Monaco",serif;color:black;background:white'>Command was: CREATE FUNCTION "public"."checkauthtrigger"() RETURNS "trigger"</span></span><o:p></o:p></p><p class=m8611334095636051211gmail-p1 style='margin:0in;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-size-adjust:none;font-kerning:auto;font-feature-settings:normal;font-stretch:normal'><span class=m8611334095636051211gmail-apple-converted-space><span style='font-family:"Monaco",serif;color:black;background:white'> </span></span><span class=m8611334095636051211gmail-s1><span style='font-family:"Monaco",serif;color:black;background:white'>LANGUAGE "c"</span></span><o:p></o:p></p><p class=m8611334095636051211gmail-p1 style='margin:0in;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-size-adjust:none;font-kerning:auto;font-feature-settings:normal;font-stretch:normal'><span class=m8611334095636051211gmail-apple-converted-space><span style='font-family:"Monaco",serif;color:black;background:white'> </span></span><span class=m8611334095636051211gmail-s1><span style='font-family:"Monaco",serif;color:black;background:white'>AS '$libdir/postgis-3', 'check_authorization';</span></span><o:p></o:p></p><p class=m8611334095636051211gmail-p2 style='margin:0in;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-size-adjust:none;font-kerning:auto;font-feature-settings:normal;font-stretch:normal;min-height:21px'><span style='font-family:"Monaco",serif'> </span><o:p></o:p></p><p class=m8611334095636051211gmail-p1 style='margin:0in;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-size-adjust:none;font-kerning:auto;font-feature-settings:normal;font-stretch:normal'><span class=m8611334095636051211gmail-s1><span style='font-family:"Monaco",serif;color:black;background:white'>-- For binary upgrade, handle extension membership the hard way</span></span><o:p></o:p></p><p class=m8611334095636051211gmail-p1 style='margin:0in;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-size-adjust:none;font-kerning:auto;font-feature-settings:normal;font-stretch:normal'><span class=m8611334095636051211gmail-s1><span style='font-family:"Monaco",serif;color:black;background:white'>ALTER EXTENSION "postgis" ADD FUNCTION "public"."checkauthtrigger"();</span></span><o:p></o:p></p><p class=m8611334095636051211gmail-p1 style='margin:0in;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-size-adjust:none;font-kerning:auto;font-feature-settings:normal;font-stretch:normal'><span style='font-family:"Monaco",serif'> </span><o:p></o:p></p><p class=m8611334095636051211gmail-p1 style='margin:0in;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-size-adjust:none;font-kerning:auto;font-feature-settings:normal;font-stretch:normal'><span class=m8611334095636051211gmail-s1><span style='font-family:"Monaco",serif;color:black;background:white'>(same for </span></span><span style='font-size:11.0pt;font-family:Consolas;color:black;background:#F7F7F7'>GetTransactionID</span><span style='font-family:"Monaco",serif;color:black'>)</span><o:p></o:p></p><p class=m8611334095636051211gmail-p1 style='margin:0in;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-size-adjust:none;font-kerning:auto;font-feature-settings:normal;font-stretch:normal'><span style='font-family:"Monaco",serif'> </span><o:p></o:p></p><p class=m8611334095636051211gmail-p1 style='margin:0in;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-size-adjust:none;font-kerning:auto;font-feature-settings:normal;font-stretch:normal'><span class=m8611334095636051211gmail-s1><span style='font-family:"Arial",sans-serif;color:black;background:white'>I saw a previous ticket</span></span><span class=m8611334095636051211gmail-s1><span style='font-family:"Monaco",serif;color:black;background:white'> </span></span><span style='font-family:"Arial",sans-serif'><a href="https://trac.osgeo.org/postgis/ticket/5723" target="_blank">https://trac.osgeo.org/postgis/ticket/5723</a> which tried to drop it already, but I still see this. Is this expected or something that was missed during testing?</span><o:p></o:p></p><p class=m8611334095636051211gmail-p1 style='margin:0in;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-size-adjust:none;font-kerning:auto;font-feature-settings:normal;font-stretch:normal'> <o:p></o:p></p><p class=m8611334095636051211gmail-p1 style='margin:0in;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-size-adjust:none;font-kerning:auto;font-feature-settings:normal;font-stretch:normal'><span style='font-family:"Arial",sans-serif'>Best,</span><o:p></o:p></p><p class=m8611334095636051211gmail-p1 style='margin:0in;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-size-adjust:none;font-kerning:auto;font-feature-settings:normal;font-stretch:normal'><span style='font-family:"Arial",sans-serif'>Derek</span><o:p></o:p></p></div></div></div></div></div></div></blockquote></div></div></div></body></html>