]> git.wh0rd.org - tt-rss.git/commitdiff
postgresql: adjust cpu_tuple (experimental)
authorAndrew Dolgov <noreply@fakecake.org>
Tue, 11 Aug 2015 17:04:54 +0000 (20:04 +0300)
committerAndrew Dolgov <noreply@fakecake.org>
Tue, 11 Aug 2015 17:04:54 +0000 (20:04 +0300)
classes/db/pgsql.php

index ba37f83a6c09273a37d68f7a34993c2400481804..5e43b9110ab83609b2edeb804092188a12418595 100644 (file)
@@ -78,6 +78,7 @@ class Db_Pgsql implements IDb {
                pg_set_client_encoding("UNICODE");
                $this->query("set datestyle = 'ISO, european'");
                $this->query("set TIME ZONE 0");
+               $this->query("set cpu_tuple_cost = 0.1");
 
                return true;
        }