henglabs / issues

0 stars 0 forks source link

substring:报错:function pg_catalog.substring(text, bigint, integer) does not exist #257

Closed wwgracie closed 6 years ago

wwgracie commented 6 years ago

POST https://develop.hengshi.org/api/apps/861/datasets/2660/fields/verify (jmeter/jmeter)

POST data: {"options":{"label":"string_comb1","type":"string","visible":true,"originType":"string","expr":{"kind":"formula","op":"substring(trim({director}),length(trim({director}))-2,3)"}}}

{"version":"2.0.0-SNAPSHOT@7801108","code":10013,"msg":"数据库错误","error":"error/db-error","debug":"ERROR: function pg_catalog.substring(text, bigint, integer) does not exist\n 建议:No function matches the given name and argument types. You might need to add explicit type casts.\n 位置:53"}