From 48c5e37546f20ada47924526b3ea011b6d2d5e8e Mon Sep 17 00:00:00 2001
From: alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>
Date: Tue, 22 Nov 2011 08:36:29 +0000
Subject: - Fixed bug where session ID's length was limited to 40 characters.
 Since PHP5.3 it's possible   to set session.hash_function to any hash
 algorithm that would produce strings   up to 128 characters long (#1488196)

git-svn-id: https://svn.roundcube.net/trunk@5460 208e9e7b-5314-0410-a742-e7e81cd9613c
---
 roundcubemail/SQL/postgres.update.sql | 2 ++
 1 file changed, 2 insertions(+)

(limited to 'roundcubemail/SQL/postgres.update.sql')

diff --git a/roundcubemail/SQL/postgres.update.sql b/roundcubemail/SQL/postgres.update.sql
index 2935cd483..d06ee8487 100644
--- a/roundcubemail/SQL/postgres.update.sql
+++ b/roundcubemail/SQL/postgres.update.sql
@@ -165,3 +165,5 @@ CREATE TABLE cache_messages (
 );
 
 CREATE INDEX cache_messages_changed_idx ON cache_messages (changed);
+
+ALTER TABLE "session" ALTER sess_id TYPE varchar(128);
-- 
cgit v1.2.3

