1
0
mirror of https://github.com/dg/dibi.git synced 2025-08-10 08:04:32 +02:00

tests: improved sql dumps, renamed pgsql -> postgre

This commit is contained in:
David Grudl
2015-10-13 17:37:14 +02:00
parent 6994f6d11a
commit 3f44e96353
8 changed files with 19 additions and 17 deletions

View File

@@ -61,7 +61,7 @@ function reformat($s)
}
if ($config['system'] === 'mysql') {
return strtr($s, '[]', '``');
} elseif ($config['system'] === 'pgsql') {
} elseif ($config['system'] === 'postgre') {
return strtr($s, '[]', '""');
} elseif ($config['system'] === 'odbc' || $config['system'] === 'sqlite') {
return $s;