Horde_Db_Adapter_Postgresql_Column::_extractLimit PHP Method

_extractLimit() protected method

protected _extractLimit ( string $sqlType ) : integer
$sqlType string
return integer
    protected function _extractLimit($sqlType)
    {
        if (preg_match('/^bigint/i', $sqlType)) {
            return 8;
        }
        if (preg_match('/^smallint/i', $sqlType)) {
            return 2;
        }
        return parent::_extractLimit($sqlType);
    }