summaryrefslogtreecommitdiff
path: root/framework/Data/ActiveRecord/Vendor/TPgsqlMetaDataInspector.php
diff options
context:
space:
mode:
authorwei <>2007-01-28 01:22:37 +0000
committerwei <>2007-01-28 01:22:37 +0000
commitace9c57b1c50709bbe8085e9cf99161a4c574be2 (patch)
tree63e9dfb9c4f270e478869f863d36a344f1de5acc /framework/Data/ActiveRecord/Vendor/TPgsqlMetaDataInspector.php
parent97b4d7ca7f7edcedc2d9c113a60d827a967f2c5e (diff)
Fixed TActiveListBox bug. Add more meta for active record. Fix TCallback docs.
Diffstat (limited to 'framework/Data/ActiveRecord/Vendor/TPgsqlMetaDataInspector.php')
-rw-r--r--framework/Data/ActiveRecord/Vendor/TPgsqlMetaDataInspector.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/Data/ActiveRecord/Vendor/TPgsqlMetaDataInspector.php b/framework/Data/ActiveRecord/Vendor/TPgsqlMetaDataInspector.php
index 910b826e..6f787942 100644
--- a/framework/Data/ActiveRecord/Vendor/TPgsqlMetaDataInspector.php
+++ b/framework/Data/ActiveRecord/Vendor/TPgsqlMetaDataInspector.php
@@ -150,7 +150,7 @@ EOD;
$notNull = $col['attnotnull'];
$serial = $col['attisserial'] ? $schema.'.'.$this->getSerialName($col['adsrc']) : null;
$default = $serial === null && $col['atthasdef'] ? $col['adsrc'] : null;
- return new TPgsqlColumnMetaData($name,$type,$length,$notNull,$serial,$default);
+ return new TPgsqlColumnMetaData($col['attname'],$name,$type,$length,$notNull,$serial,$default);
}
/**