Yii active record, and user-defined types in postgres

Really like postgres for the richest functionality, including user-defined types. I wonder how works with Active Record in yii, CDbCriteria in particular.
October 3rd 19 at 03:33
1 answer
October 3rd 19 at 03:35
Judging by the source code of all user-defined data types are transferred to string

protected function extractType($dbType)
 if(strpos($dbType,'[')!==false || strpos($dbType,'char')!==false || strpos($dbType,'text')!==false)
 else if(strpos($dbType,'bool')!==false)
 else if(preg_match('/(real|float|double)/',$dbType))
 else if(preg_match('/(integer|oid|serial|smallint)/',$dbType))

Find more questions by tags Active RecordPHPPostgreSQLYii