1
0

Added PDO::Postgres DB-layer support by Theo Schlossnagle

This commit is contained in:
Garvin Hicking
2007-02-06 08:27:29 +00:00
parent ecad5cd095
commit 8c68e837e4
10 changed files with 350 additions and 8 deletions

View File

@ -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()';