add database sql query support(postgres)