Changes between Version 13 and Version 14 of v6/pgsummary


Ignore:
Timestamp:
05/03/2012 11:15:40 AM (14 years ago)
Author:
lisiliang
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • v6/pgsummary

    v13 v14  
    180180新版本的xdb 脚本已经解决这个问题,已经通过了测试。  
    181181}}} 
     182 
     183* oracle  wm_concat 函数的替代方案 
     184{{{ 
     185oracle 数据库中比较常用到wmsys.wm_concat () 来连接字符串 
     186 
     187把多行的数据库连接到一起(默认是用逗号分割的)  
     188 
     189oracle 转pg 需要一个替代方案,尽量的应用代码改动小, 
     190 
     191pg 还是很能干的,果然找到了一个替代方案 
     1921       cyp_app=> \df STRING_AGG 
     1932                                   List of functions 
     1943          Schema   |    Name    | Result data type | Argument data types | Type 
     1954       ------------+------------+------------------+---------------------+------ 
     1965        pg_catalog | string_agg | text             | text, text          | agg 
     1976       (1 row) 
     198 
     199http://bbs.pconline.cn/topic-2159.html 
     200 
     201}}}