【发布时间】:2012-05-22 12:45:48
【问题描述】:
问题
这段代码:
select
x::text
from
regexp_matches( 'i1 into o2, and g1 into o17', '[gio][0-9]{1,}', 'g' ) as x;
返回这些结果:
{i1}
{o2}
{g1}
{o17}
而不是以下结果:
i1
o2
g1
o17
相关链接
问题
使用 PostgreSQL 9.x 删除大括号的最有效方法是什么?
【问题讨论】:
标签: arrays regex postgresql plpgsql set-returning-functions