MDL-17020 dml: native pgsql driver - minor coding style improvement

This commit is contained in:
skodak 2008-10-28 12:04:10 +00:00
parent dd2ce45907
commit 7063c802fa

View File

@ -108,7 +108,7 @@ class pgsql_native_moodle_database extends moodle_database {
}
pg_set_client_encoding($this->pgsql, 'utf8');
// find out the bytea oid
$sql = "select oid from pg_type where typname = 'bytea'";
$sql = "SELECT oid FROM pg_type WHERE typname = 'bytea'";
$result = pg_query($this->pgsql, $sql);
if ($result === false) {
return false;