<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Alex M Kim on Medium]]></title>
        <description><![CDATA[Stories by Alex M Kim on Medium]]></description>
        <link>https://medium.com/@who.mobile?source=rss-304b9bf6265b------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*dMuL4a17ZfGRoV9A.jpg</url>
            <title>Stories by Alex M Kim on Medium</title>
            <link>https://medium.com/@who.mobile?source=rss-304b9bf6265b------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 03 Dec 2026 00:35:54 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@who.mobile/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Postgres 9.3 -> postgres9.4 Ubuntu 10.04.1 LTS]]></title>
            <link>https://medium.com/@who.mobile/postgres-9-3-postgres9-4-ubuntu-10-04-1-lts-3b013b23f18d?source=rss-304b9bf6265b------2</link>
            <guid isPermaLink="false">https://medium.com/p/3b013b23f18d</guid>
            <dc:creator><![CDATA[Alex M Kim]]></dc:creator>
            <pubDate>Thu, 16 Jul 2015 19:21:24 GMT</pubDate>
            <atom:updated>2015-07-16T19:26:06.171Z</atom:updated>
            <content:encoded><![CDATA[<p>This is update for my system case after referring</p><p><a href="https://medium.com/p/2b4ddcd26535">Upgrading PostgreSQL from 9.3 to 9.4 on Ubuntu 14.04 LTS</a></p><p>I faced few minor issues, so I want to add my side story. Thanks to postgresql team and Torbjørn Kristoffersen. <a href="https://medium.com/@tk512">https://medium.com/@tk512</a></p><p>OS: Ubuntu 14.04.1 LTS</p><pre>$ lsb_release -a<br>No LSB modules are available.<br>Distributor ID: Ubuntu<br>Description: Ubuntu 14.04.1 LTS<br>Release: 14.04<br>Codename: trusty </pre><p>Follow back up of your database</p><ol><li>Stop current database</li></ol><pre>sudo /etc/init.d/postgresql stop</pre><p>2. Add postgres to package manager</p><pre>echo &quot;deb <a href="http://apt.postgresql.org/pub/repos/apt/">http://apt.postgresql.org/pub/repos/apt/</a> utopic-pgdg main&quot; &gt;&gt; /etc/apt/sources.list.d/pgdg.list</pre><p>if entry already exist, no reason to add.</p><p>3. add GPG</p><pre>wget <a href="https://www.postgresql.org/media/keys/ACCC4CF8.asc">https://www.postgresql.org/media/keys/ACCC4CF8.asc</a><br>sudo apt-key add <a href="https://www.postgresql.org/media/keys/ACCC4CF8.asc">ACCC4CF8.asc</a></pre><p>make sure this return success</p><pre>$sudo apt-key add ACCC4CF8.asc<br>OK</pre><p>4. install postgresql-9.4</p><pre>$ sudo apt-get update</pre><pre>$ sudo apt-get install postgresql-9.4</pre><p>5. check cluster status</p><pre>$ sudo pg_lsclusters<br>Ver Cluster Port Status Owner Data directory Log file<br>9.3 main xxxx down  .... <br>9.4 main 5432 online postgres /var/lib/postgresql/9.4/main /var/log/postgresql/postgresql-9.4-main.log</pre><p>6. stop fresh install cluster</p><pre>sudo pg_dropcluster — stop 9.4 main</pre><p>7. Upgrade db</p><p>7.1 start db</p><pre>sudo /etc/init.d/postgresql start</pre><p>7.2 cluster upgrade</p><pre>sudo pg_upgradecluster 9.3 main</pre><p>if this fail with perl language setting.</p><pre>sudo su -<br>dpkg-reconfigure locales</pre><pre>pg_upgradecluster 9.3 main<br>exit</pre><p>8. check upgrade status</p><pre>$ sudo pg_lsclusters<br>Ver Cluster Port Status Owner Data directory Log file<br>9.4 main 5432 online postgres /var/lib/postgresql/9.4/main /var/log/postgresql/postgresql-9.4-main.log</pre><p>Now test your database and application.</p><p>I didn’t face any problem with my upgrade.</p><p>By the way, I am still not sure whether jsonb @ psql9.4 is good for mye or not.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3b013b23f18d" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>