cvs: pear /MDB2/MDB2/Driver/Datatype pgsql.php

From: Date: Fri, 14 Apr 2006 17:59:07 +0000
Subject: cvs: pear /MDB2/MDB2/Driver/Datatype pgsql.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-39616@lists.php.net to get a copy of this message
lsmith Fri Apr 14 17:59:07 2006 UTC Modified files: /pear/MDB2/MDB2/Driver/Datatype pgsql.php Log: - pgsql does not support unsigned ints http://cvs.php.net/viewcvs.cgi/pear/MDB2/MDB2/Driver/Datatype/pgsql.php?r1=1.48&r2=1.49&diff_format=u Index: pear/MDB2/MDB2/Driver/Datatype/pgsql.php diff -u pear/MDB2/MDB2/Driver/Datatype/pgsql.php:1.48 pear/MDB2/MDB2/Driver/Datatype/pgsql.php:1.49 --- pear/MDB2/MDB2/Driver/Datatype/pgsql.php:1.48 Fri Apr 14 11:05:57 2006 +++ pear/MDB2/MDB2/Driver/Datatype/pgsql.php Fri Apr 14 17:59:07 2006 @@ -42,7 +42,7 @@ // | Author: Paul Cooper <pgc@ucecom.com> | // +----------------------------------------------------------------------+ // -// $Id: pgsql.php,v 1.48 2006/04/14 11:05:57 lsmith Exp $ +// $Id: pgsql.php,v 1.49 2006/04/14 17:59:07 lsmith Exp $ require_once 'MDB2/Driver/Datatype/Common.php'; @@ -522,7 +522,7 @@ case 'smallint': case 'int2': $type[] = 'integer'; - $unsigned = preg_match('/ unsigned/i', $db_type); + $unsigned = false; $length = 2; break; case 'int': @@ -531,7 +531,7 @@ case 'serial': case 'serial4': $type[] = 'integer'; - $unsigned = preg_match('/ unsigned/i', $db_type); + $unsigned = false; $length = 4; break; case 'bigint': @@ -539,7 +539,7 @@ case 'bigserial': case 'serial8': $type[] = 'integer'; - $unsigned = preg_match('/ unsigned/i', $db_type); + $unsigned = false; $length = 8; break; case 'bool':

« previous php.pear.cvs (#39616) next »