Changeset 424
- Timestamp:
- 12/02/07 16:05:42 (1 year ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/utils/copix/db/drivers/pdo_pgsql/CopixDbConnection.pdo_pgsql.class.php
r395 r424 83 83 $result = $this->doQuery ($sql); 84 84 foreach ($result as $key => $val) { 85 if(preg_match ('/btree \((.*?)\)/', $val->inddef, $matches)){ 85 // Une clé primaire à un btree et son indisprimary est à t (true) 86 if(preg_match ('/btree \((.*?)\)/', $val->inddef, $matches) && ($var->indisprimary == 't')){ 86 87 $arIdx[] = $matches[1]; 87 88 } 89 88 90 } 89 91
