Index: /temp/trunk/html/admin/system/bkup.php
===================================================================
--- /temp/trunk/html/admin/system/bkup.php	(revision 5461)
+++ /temp/trunk/html/admin/system/bkup.php	(revision 5462)
@@ -83,7 +83,19 @@
 	$arrTableList = lfGetTableList();
 	
-	sfprintr($arrTableList);
-	
-	// ¥Æ¡¼¥Ö¥ë¾ðÊó¤ò
+	// ³Æ¥Æ¡¼¥Ö¥ë¾ðÊó¤ò¼èÆÀ¤¹¤ë
+	foreach($arrTableList as $key => $val){
+		
+		// ¥Æ¡¼¥Ö¥ë¹½À®¤ò¼èÆÀ
+		$arrColumnList = lfGetColumnList($val);
+		
+		
+		sfprintr($arrColumnList);
+		
+		
+		
+		// Á´¥Ç¡¼¥¿¤ò¼èÆÀ
+		
+		
+	}
 	
 	
@@ -109,5 +121,22 @@
 }
 
-
+// ¥Æ¡¼¥Ö¥ë¹½À®¤ò¼èÆÀ¤¹¤ë
+function lfGetColumnList($table_name){
+	$objQuery = new SC_Query();
+
+	if(DB_TYPE == "pgsql"){
+		$sql = "SELECT 
+					a.attname, t.typname, a.attnotnull, d.adsrc as defval, a.atttypmod,	a.attnum as fldnum,	e.description 
+				FROM 
+					pg_class c,
+					pg_type t,
+					pg_attribute a left join pg_attrdef d on (a.attrelid=d.adrelid and a.attnum=d.adnum)
+								   left join pg_description e on (a.attrelid=e.objoid and a.attnum=e.objsubid)
+				WHERE (c.relname=?) AND (c.oid=a.attrelid) AND (a.atttypid=t.oid) AND a.attnum > 0
+				ORDER BY fldnum";
+		$arrRet = $objQuery->getAll($sql, array($table_name));
+	}
+
+}
 
 
