<div dir="ltr">Hi,<br><br><div class="gmail_quote"><div dir="ltr">On Tue, Nov 29, 2016 at 1:10 PM Darafei "Komяpa" Praliaskouski <<a href="mailto:me@komzpa.net" target="_blank">me@komzpa.net</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 dir="ltr" class="gmail-m_-4518442804604605191gmail_msg"><div class="gmail_quote gmail-m_-4518442804604605191gmail_msg"><blockquote class="gmail_quote gmail-m_-4518442804604605191gmail_msg" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr" class="gmail-m_-4518442804604605191gmail_msg"><div class="gmail-m_-4518442804604605191gmail_msg"><div class="gmail_quote gmail-m_-4518442804604605191gmail_msg"><div class="gmail-m_-4518442804604605191gmail_msg"><br class="gmail-m_-4518442804604605191gmail_msg"></div></div></div></div><div dir="ltr" class="gmail-m_-4518442804604605191gmail_msg"><div class="gmail-m_-4518442804604605191gmail_msg"><div class="gmail_quote gmail-m_-4518442804604605191gmail_msg"><div class="gmail-m_-4518442804604605191gmail_msg">At the moment there are different snaps for each major version available (snap find postgres shows this), all of these in the stable channel. We are, however, working towards having smarter channels. Right now there is edge, which you can update with every commit to trunk. There's also beta, candidate, and of course stable.</div><div class="gmail-m_-4518442804604605191gmail_msg">We're aiming at having 9.6/stable, 9.6/candidate, 9.6/beta, 9.6/edge, 9.5/stable, 9.5/candidate, and so on, and also a "magic" latest family: latest/edge, latest/beta, etc. latest'stable would be the version you get when you ask the system to install any snap, without manually specifying the major version and flavour.</div></div></div></div></blockquote></div></div><div dir="ltr" class="gmail-m_-4518442804604605191gmail_msg"><div class="gmail_quote gmail-m_-4518442804604605191gmail_msg"><div class="gmail-m_-4518442804604605191gmail_msg"><br class="gmail-m_-4518442804604605191gmail_msg">This describes install, but not upgrade process.</div><div class="gmail-m_-4518442804604605191gmail_msg"><br></div></div></div></blockquote><div><br></div><div>Well, rather, I was trying to explain that with different "series" for each major version, updates should be handled ok.</div><div> <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 dir="ltr" class="gmail-m_-4518442804604605191gmail_msg"><div class="gmail_quote gmail-m_-4518442804604605191gmail_msg"><div class="gmail-m_-4518442804604605191gmail_msg"></div><div class="gmail-m_-4518442804604605191gmail_msg">If you upgrade by just replacing binaries, you should keep in mind postgres 9.6 can't work with database created in postgres 9.4 - so, you need pg_upgrade (+ several manual steps) to perform the upgrade.</div><div class="gmail-m_-4518442804604605191gmail_msg"><br class="gmail-m_-4518442804604605191gmail_msg"></div></div></div></blockquote><div><br></div><div>Right. So, I've been talking with the people that has been helping with the postgres snap, and they told that maybe the content interface might be able to give a hand for plupgrades between major versions.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr" class="gmail-m_-4518442804604605191gmail_msg"><div class="gmail_quote gmail-m_-4518442804604605191gmail_msg"><div class="gmail-m_-4518442804604605191gmail_msg"></div><div class="gmail-m_-4518442804604605191gmail_msg">If you install postgis, you have a postgis binary for each version of postgis for each version of postgres. After you connect to postgres database, you can switch the version of extension used, and several running simultaneous queries can be using different versions of postgis.<br class="gmail-m_-4518442804604605191gmail_msg"><br class="gmail-m_-4518442804604605191gmail_msg">Packaging postgis+postgres in single package has a disadvantage - you can't use more than two extensions at the same time in that scheme.<br class="gmail-m_-4518442804604605191gmail_msg"><br class="gmail-m_-4518442804604605191gmail_msg">How is it going to be handled?</div></div></div></blockquote><div><br></div><div>Right, so maybe the solution would be to create a pg interface. Or again, we could use the content interface to create a way for extensions to be placed where PG can find them. This might need some coordinated work with <span style="background-color:rgb(245,245,245);color:rgb(51,51,51);font-family:arial,sans-serif,sans;font-size:13px">Command Prompt to get the PG snap to look for extensions there. If you're interested in investing some time into it, so are we :) We are writing to upstreams also to know what they need (even though we can't promise it will be ready soon), but knowing what's lacking to snaps for it to be adopted certainly can modify our roadmap.</span></div><div><span style="background-color:rgb(245,245,245);color:rgb(51,51,51);font-family:arial,sans-serif,sans;font-size:13px"><br></span></div><div><span style="background-color:rgb(245,245,245);color:rgb(51,51,51);font-family:arial,sans-serif,sans;font-size:13px">Again, if interested, we might be able to coordinate a meeting with other people involved to try to find a way :)</span></div><div><span style="background-color:rgb(245,245,245);color:rgb(51,51,51);font-family:arial,sans-serif,sans;font-size:13px"><br></span></div><div><span style="background-color:rgb(245,245,245);color:rgb(51,51,51);font-family:arial,sans-serif,sans;font-size:13px">Best,<br></span></div><div><span style="background-color:rgb(245,245,245);color:rgb(51,51,51);font-family:arial,sans-serif,sans;font-size:13px"><br></span></div><div><span style="background-color:rgb(245,245,245);color:rgb(51,51,51);font-family:arial,sans-serif,sans;font-size:13px">Julia</span></div></div></div>