Empty string is a nonvalid literal value for the PostgreSQL boolean type. Fixed
- Create temporary table instead of create table temporary
Enable persistent connections for IbmDb2.

Usage example in global.php:
<?php
return array(
    'db' => array(
        'driver' => 'IbmDb2',
        'database' => '*LOCAL',
        'username' => 'GUIDO',
        'password' => 'GUIDO55',
        'persistent' => true,
        'driver_options' => array(
            'i5_naming' => DB2_I5_NAMING_ON,
            'i5_libl' => 'WSDATA QGPL'
        ),
        'platform_options' => array(
            'quote_identifiers' => false
        )
    ),
    
    'service_manager' => array(
        'factories' => array(
            'Zend\Db\Adapter\Adapter' =>
'Zend\Db\Adapter\AdapterServiceFactory'
        )
    )
);


Change-Id: I42ff3d52b2f112cefb828432c93eb409d42b2cad
Enable persistent connections for IBMi

'db' => array(
        'driver' => 'IbmDb2',
        'database' => '*LOCAL',
        'username' => 'USER',
        'password' => 'PASSWORD',
        'persistent' => true,
        'driver_options' => array(
            'i5_naming' => DB2_I5_NAMING_ON,
            'i5_libl' => 'SOMELIB QGPL'
        ),
        'platform_options' => array(
            'quote_identifiers' => false
        )
    ),

'persistent' accepts true/false, or can be left out

Change-Id: I8b42f83e7be794286fc5b23e8dc195bb22b23b66
Fixing a bug that causes fatal error when a RowGateway's primary key were changed directly : refresh the select's where clause after the update query.
[#5256] allow keys with less than maximum supported key length.
fixed coding style.
Was using count($keySizes) and thought !empty($keySizes) would be clearer and missed the '!'.
fixed test, short key should be usable with blowfish.
Also test for all algorithms, just to make sure that key really is short ( < 8).
Test key needs to be shorter than the shortest supported key size, which
is 5 bytes (cast-128). Replaced it with 'four'.
It slipped because somehow on cygwin cast-128 only support 16 bytes.
Unit test ZendTest\Db\Adapter\Driver\Pdo\ResultTest::testCurrent() tests current() returns consistent results

Zend\Db\Adapter\Driver\Pdo\Result::current() fix to prevent calling resource::fetch() on multiple calls

Patch for
fix formatting
Add license and comments
Merge branch 'master' of https://github.com/zendframework/zf2 into zf5256
added open/close braces.
PR #5221
Merge branch 'zf5210' of git://github.com/thepauleh/zf2 into thepauleh-zf5210

* 'zf5210' of git://github.com/thepauleh/zf2:
  - Create temporary table instead of create table temporary
Merging PR #5221
Merge branch 'thepauleh-zf5210'

* thepauleh-zf5210:
  - Create temporary table instead of create table temporary
PR #5457, Fixes #5454
Merge branch 'zf5454' of git://github.com/ChrisSchreiber/zf2 into ChrisSchreiber-zf5454

* 'zf5454' of git://github.com/ChrisSchreiber/zf2:
  Add license and comments
  fix formatting
  Unit test ZendTest\Db\Adapter\Driver\Pdo\ResultTest::testCurrent() tests current() returns consistent results
Removed unnecessary whitespace in Pdo\Resultphp
Merging PR #5457 to master
Merge branch 'ChrisSchreiber-zf5454'

* ChrisSchreiber-zf5454:
  Removed unnecessary whitespace in Pdo\Resultphp
  Add license and comments
  fix formatting
  Unit test ZendTest\Db\Adapter\Driver\Pdo\ResultTest::testCurrent() tests current() returns consistent results