Changeset 4330
- Timestamp:
- 05/01/08 23:11:39 (14 months ago)
- Files:
-
- 1 modified
-
branches/0.11/lib/Doctrine/Expression/Pgsql.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/0.11/lib/Doctrine/Expression/Pgsql.php
r4252 r4330 55 55 $column = $this->getIdentifier($column); 56 56 57 if ($this->version > 7) { 58 return 'MD5(' . $column . ')'; 59 } else { 60 return 'encode(digest(' . $column .', md5), hex)'; 61 } 57 return 'MD5(' . $column . ')'; 62 58 } 63 59