<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Databases on Roman Dushko - Personal blog</title><link>https://www.rodush.com/categories/databases/</link><description>Recent content in Databases on Roman Dushko - Personal blog</description><image><title>Roman Dushko - Personal blog</title><url>https://www.rodush.com/images/rodush-og.png</url><link>https://www.rodush.com/images/rodush-og.png</link></image><generator>Hugo</generator><language>en</language><lastBuildDate>Tue, 24 Sep 2013 20:50:49 +0000</lastBuildDate><atom:link href="https://www.rodush.com/categories/databases/index.xml" rel="self" type="application/rss+xml"/><item><title>Postgres and earthdistance extension</title><link>https://www.rodush.com/2013/09/postgres-and-earthdistance-extension/</link><pubDate>Tue, 24 Sep 2013 20:50:49 +0000</pubDate><guid>https://www.rodush.com/2013/09/postgres-and-earthdistance-extension/</guid><description>&lt;p&gt;First of all, let me describe how one can install extensions for your Postgresql.&lt;/p&gt;
&lt;p&gt;It depends whether you have version 8.4+ or 9.1+ installed.&lt;/p&gt;
&lt;p&gt;In following sections I will describe procedure related to Debian based OSes.&lt;/p&gt;
&lt;p&gt;First of all, you have to install contrib packages for corresponding version:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-sh" data-lang="sh"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;root@debian:/home/web# apt-cache search postgres | grep contrib
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;postgresql-contrib - additional facilities &lt;span style="color:#66d9ef"&gt;for&lt;/span&gt; PostgreSQL &lt;span style="color:#f92672"&gt;(&lt;/span&gt;supported version&lt;span style="color:#f92672"&gt;)&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;postgresql-contrib-8.4 - additional facilities &lt;span style="color:#66d9ef"&gt;for&lt;/span&gt; PostgreSQL
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;postgresql-contrib-9.1 - additional facilities &lt;span style="color:#66d9ef"&gt;for&lt;/span&gt; PostgreSQL
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;with command:&lt;/p&gt;</description></item><item><title>How to change PHPMyAdmin session timeout</title><link>https://www.rodush.com/2011/03/how-to-change-phpmyadmin-session-timeout/</link><pubDate>Sun, 27 Mar 2011 12:26:40 +0000</pubDate><guid>https://www.rodush.com/2011/03/how-to-change-phpmyadmin-session-timeout/</guid><description>&lt;p&gt;By default, the session lifetime in a new PhpMyAdmin installation using the &amp;ldquo;cookie&amp;rdquo;; authentication method is 1440 seconds (24 minutes). That is, after 24 minutes of inactivity, the next request will take the user to the login page. To increase the session lifetime, set the value of the variable to say, 60x longer:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-php" data-lang="php"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;$cfg[&lt;span style="color:#e6db74"&gt;&amp;#39;LoginCookieValidity&amp;#39;&lt;/span&gt;] &lt;span style="color:#f92672"&gt;=&lt;/span&gt; &lt;span style="color:#ae81ff"&gt;1440&lt;/span&gt; &lt;span style="color:#f92672"&gt;*&lt;/span&gt; &lt;span style="color:#ae81ff"&gt;60&lt;/span&gt;; &lt;span style="color:#75715e"&gt;// 86400 means one day (24-hours)
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;</description></item></channel></rss>