Index: lib/ezdb/classes/ezdb.php
===================================================================
--- lib/ezdb/classes/ezdb.php	(revision 23936)
+++ lib/ezdb/classes/ezdb.php	(working copy)
@@ -172,6 +172,15 @@
                 list( $server, $port, $user, $pwd, $db, $usePersistentConnection ) =
                     $ini->variableMulti( 'DatabaseSettings', array( 'Server', 'Port', 'User', 'Password', 'Database', 'UsePersistentConnection', ) );
 
+            // ###JAC_PATCH
+            if( $ini->hasVariable('DatabaseSettings', 'DatabasePostfix') )
+            {
+                $databasePostfix = $ini->variable( 'DatabaseSettings', 'DatabasePostfix' );
+                $dbNew = $db . $databasePostfix;
+                eZDebug::writeDebug( '!!!Development!!! Using Database: '. $dbNew ." => not $db", "eZDB::instance() - site.ini [DatabaseSettings] DatabasePostfix=$databasePostfix" );
+                $db = $dbNew;
+            }
+
             $socketPath = false;
             if ( $useDefaults )
             {
