add testcase for #4223

This commit is contained in:
高铁
2021-04-18 17:12:11 +08:00
parent 1154dcdd98
commit 280f83a75e
2 changed files with 8 additions and 0 deletions
@@ -84,6 +84,10 @@ public class PostgresqlResourceTest extends PGTest {
exec_test("bvt/parser/postgresql-11.txt");
}
public void test_12() throws Exception {
exec_test("bvt/parser/postgresql-12.txt");
}
public void exec_test(String resource) throws Exception {
System.out.println(resource);
InputStream is = null;
@@ -0,0 +1,4 @@
select max(tmp1)::varchar from test01;
---------------------------
SELECT max(tmp1)::varchar
FROM test01;