Added PDO::Postgres DB-layer support by Theo Schlossnagle
This commit is contained in:
@ -127,6 +127,7 @@ function serendipity_db_get_interval($val, $ival = 900) {
|
||||
$ts = time();
|
||||
break;
|
||||
|
||||
case 'pdo-postgres':
|
||||
case 'postgres':
|
||||
$interval = "interval '$ival'";
|
||||
$ts = 'NOW()';
|
||||
|
Reference in New Issue
Block a user