From b8ae0ecb22264b6a4dc8785c431a8d0556fa83bf Mon Sep 17 00:00:00 2001
From: alecpl <alec@alec.pl>
Date: Tue, 22 Nov 2011 03:36:29 -0500
Subject: [PATCH] - 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)

---
 SQL/postgres.initial.sql |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/SQL/postgres.initial.sql b/SQL/postgres.initial.sql
index 06ecad4..3710dac 100644
--- a/SQL/postgres.initial.sql
+++ b/SQL/postgres.initial.sql
@@ -37,7 +37,7 @@
 --
 
 CREATE TABLE "session" (
-    sess_id varchar(40) DEFAULT '' PRIMARY KEY,
+    sess_id varchar(128) DEFAULT '' PRIMARY KEY,
     created timestamp with time zone DEFAULT now() NOT NULL,
     changed timestamp with time zone DEFAULT now() NOT NULL,
     ip varchar(41) NOT NULL,

--
Gitblit v1.9.1