Aleksander Machniak
2013-10-14 c1bc8f6c827a27540b5510b42dcc65b39d38f2c1
program/lib/Roundcube/rcube_db_pgsql.php
@@ -29,6 +29,17 @@
    public $db_provider = 'postgres';
    /**
     * Driver-specific configuration of database connection
     *
     * @param array $dsn DSN for DB connections
     * @param PDO   $dbh Connection handler
     */
    protected function conn_configure($dsn, $dbh)
    {
        $dbh->query("SET NAMES 'utf8'");
    }
    /**
     * Get last inserted record ID
     *
     * @param string $table Table name (to find the incremented sequence)