<div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-size:small">Hi Regina,</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Aug 26, 2022 at 1:20 AM Regina Obe <<a href="mailto:lr@pcorp.us">lr@pcorp.us</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="msg1356936686907407949"><div lang="EN-US"><div class="m_1356936686907407949WordSection1"><p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">Sandeep,<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">Vicky is at OSGeo conference this week.  I’ll try to answer to the best of my knowledge and Vicky can correct me later.<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">We’ll work on setting up a matrix to clarify these questions.<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">My personal general advice is to use the latest pgRouting micro that is supported for your PostgreSQL version (and for whatever Boost you can reasonably get).  For example Boost Graph Library (Boost 1.56 is required for pgRouting 3.3.1), so if for whatever reason you need to use lower boost, you’d need to use 3.1.<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u> </span></p></div></div></div></blockquote><div><span class="gmail_default" style="font-size:small">OK got it. </span></div><div><span class="gmail_default" style="font-size:small"></span> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="msg1356936686907407949"><div lang="EN-US"><div class="m_1356936686907407949WordSection1"><p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u></span></p><p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">Note that pgRouting lib files include the minor version.  E.g. 3.1 has library file:  libpgrouting-3.3 (however all new installs will reference the lib file designated in the .control file). This causes a bit of confusion, since a new minor pgRouting install doesn’t mean you are running the latest libraries, without a  ALTER EXTENSION pgrouting UPDATE;<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">And even if you do CREATE EXTENSION pgRouting VERSION “someversion”;   you might end up with the newer library but older sql scripts.<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u> </span></p></div></div></div></blockquote><div><span class="gmail_default" style="font-size:small">OK. So as I understand, the micro version updates (3rd digit bump) doesn't require to execute 'ALTER EXTENSION pgrouting UPDATE;' but the minor updates (2nd digit) do need to execute that post-installation, correct? Any additional steps needed to upgrade the major version? say from 3.x to 4.x</span></div><div><span class="gmail_default" style="font-size:small"></span> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="msg1356936686907407949"><div lang="EN-US"><div class="m_1356936686907407949WordSection1"><p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u></span></p><p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">pgRouting 3-3.3 work for all supported versions of PostGIS (and even unsupported) – so PostGIS 2.5 -> upcoming PostGIS 3.3.0 (which will be released late this week or early next) should work for all.<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u> </span></p></div></div></div></blockquote><div><span class="gmail_default" style="font-size:small">OK</span></div><div><span class="gmail_default" style="font-size:small"></span> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="msg1356936686907407949"><div lang="EN-US"><div class="m_1356936686907407949WordSection1"><p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u></span></p><p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">Upgrading -  there can be breaking changes for the functions marked proposed or experimental, with experimental being more likely to have breakages than proposed.<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><a href="https://docs.pgrouting.org/latest/en/proposed.html" target="_blank">https://docs.pgrouting.org/latest/en/proposed.html</a> <u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><a href="https://docs.pgrouting.org/latest/en/experimental.html" target="_blank">https://docs.pgrouting.org/latest/en/experimental.html</a><u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">For other functions, breakages should only be happening at the major level – e.g. 4.0 is going to have several breakages of core functions for example the TRSP and the loading functions.  If you see core functions broken between 3-3.3, then that is a bug that should be reported.<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u> </span></p></div></div></div></blockquote><div><span class="gmail_default" style="font-size:small">got it.</span></div><div><span class="gmail_default" style="font-size:small"></span> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="msg1356936686907407949"><div lang="EN-US"><div class="m_1356936686907407949WordSection1"><p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u></span></p><p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">For PostgreSQL compatibility, pgRouting, latest will always be compatible with the latest PostgreSQL (e.g. 3.3 works with the upcoming PostgreSQL 15).<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u> </span></p></div></div></div></blockquote><div><span class="gmail_default" style="font-size:small">OK</span></div><div><span class="gmail_default" style="font-size:small"></span> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="msg1356936686907407949"><div lang="EN-US"><div class="m_1356936686907407949WordSection1"><p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u></span></p><p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">I have to double-check, but as I recall, I think the pgRouting 3.3.1 works for all supported versions of PostgreSQL (so 10 -15).  The older versions it really depends on when a PostgreSQL release came out.  <u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u> </span></p></div></div></div></blockquote><div><span class="gmail_default" style="font-size:small">OK, having the compatibility matrix mentioned on the website would really help. </span></div><div><span class="gmail_default" style="font-size:small"></span> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="msg1356936686907407949"><div lang="EN-US"><div class="m_1356936686907407949WordSection1"><p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u></span></p><p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">The general philosophy is as soon as a breakage is found in a PostgreSQL beta, it is fixed in the latest pgRouting minor ( or soon to be released minor if the PostgreSQL version has not been released yet).  These changes aren’t backported.  So for example I think there was a change in PostgreSQL 12 beta that broke some pgRouting functionality I forget which release, but I don’t think this fix was backported to older releases.<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">Hope that helps,</span></p></div></div></div></blockquote><div><br></div><div class="gmail_default" style="font-size:small">Yes, thank you so very much to answer those questions in detail</div><div class="gmail_default" style="font-size:small"></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="msg1356936686907407949"><div lang="EN-US"><div class="m_1356936686907407949WordSection1"><p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">Regina<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></p><div style="border-top:none;border-right:none;border-bottom:none;border-left:1.5pt solid blue;padding:0in 0in 0in 4pt"><div><div style="border-right:none;border-bottom:none;border-left:none;border-top:1pt solid rgb(225,225,225);padding:3pt 0in 0in"><p class="MsoNormal"><b><span style="font-size:11pt;font-family:Calibri,sans-serif">From:</span></b><span style="font-size:11pt;font-family:Calibri,sans-serif"> pgrouting-dev [mailto:<a href="mailto:pgrouting-dev-bounces@lists.osgeo.org" target="_blank">pgrouting-dev-bounces@lists.osgeo.org</a>] <b>On Behalf Of </b>Sandeep Thakkar<br><b>Sent:</b> Thursday, August 25, 2022 2:38 AM<br><b>To:</b> <a href="mailto:pgrouting-dev@lists.osgeo.org" target="_blank">pgrouting-dev@lists.osgeo.org</a><br><b>Subject:</b> [pgrouting-dev] Versioning and Compatibility matrix<u></u><u></u></span></p></div></div><p class="MsoNormal"><u></u> <u></u></p><div><div><p class="MsoNormal">Hi,<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">Is there a compatibility matrix for PostgreSQL, PostGIS and pgRouting versioning?<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">Also, there is a question with regards to the versioning and the release of pgRouting. I see the currently supported versions are 3.0, 3.1, 3.2, 3.3 (latest). What's the recommendation for upgrading from one version of 3.x to the newer? Will/Can they contain breaking changes? I guess yes? How long are each of these versions supported?<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><div><p class="MsoNormal">Thanks in advance !<u></u><u></u></p></div><p class="MsoNormal"><u></u> <u></u></p></div><p class="MsoNormal">-- <u></u><u></u></p><div><div><div><div><div><div><div><div><div><div><div><p class="MsoNormal"><span style="font-size:10pt;color:black">Sandeep Thakkar</span><u></u><u></u></p><div><p class="MsoNormal" style="margin-bottom:12pt"><u></u> <u></u></p></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><font color="#000000" size="2">Sandeep Thakkar</font><div><br><br></div></div></div></div></div></div></div></div></div></div></div></div></div>