table_to_xml ( table regclass, nulls boolean, tableforest boolean, targetns text ) → xml → xml
table_to_xml映射由参数table传递的命名表的内容。regclass类型接受使用常见标记标识表的字符串,包括可选的模式限定和双引号(详见第 8.19 节)。query_to_xml执行由参数query传递的查询并且映射结果集。cursor_to_xml从cursor指定的游标中取出指定数量的行。如果需要映射一个大型的表,我们推荐这种变体,因为每一个函数都是在内存中构建结果值的。