1
0
mirror of https://github.com/dg/dibi.git synced 2025-08-12 00:54:11 +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 48adcec6dc
commit e339eff00f
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;