postgresql字符串文本暴力转时间戳日期时间类型
postgresql字符串转时间戳,转换失败时返回null
create or replace function convert_datetime(date_str text) returns timestamp
language plpgsql immutable as $D$
declare result timestamp;
arr text[];
b...
原创
2019-07-21 17:15:06 ·
1856 阅读 ·
0 评论