首页 > 编程知识 正文

matlabregress,post调试工具

时间:2023-05-06 11:25:41 阅读:150841 作者:1566

SQL测试集-使用-pg_regress官方文档3359 www.PostgreSQL.org/docs/10/regress-run.html

命令帮助usage : pg _ regress [ option ] . [ extra-test ] . options :-- config-auth=datadirupdateauthenticationsettingsfordatadir-- create-role=rolecreatethespecifiedre --debugturnondebugmodeinprogramsthatarerun-- dl path=dirlookfordynamiclibrariesindir-- encoding=encodinguseencodingas --launcher=cmdusecmdaslauncherofpsql-- load-extension=extloadttion canappearmultipletimes-- load-language=load canappearmultipletimes---- max-connections=nmaximumnumberofconcurrentconnections (default is 0, meaning unlimited---output dir=dirplaceoutputfilesindir (default '.' )-schedule=fileusetestorderingschedulefromfilefromfindir --temp-instance=dircreateatemporaryinstanceindir-- use-existinginstallationoptionsfor ' temp-instance port---temp-- config=fileappendcontentsoffiletotemporaryconfigoptionsforusinganexing n :---host=hostuseposepose asterrunningatport-- user=userconnectasuser配置使用说明编译后regress目录下的以下文件和目录: 它位于sql_test_case目录的sqlexpectedinputoutputdataresultmappg _ regressautoinc.so regress.sore fint.so serial中勒:将@libdir@替换为/tmp/sql_test_case并将sql_test_case上载到/tmp目录(要测试的数据库群集的max _ prepared 更改后需要重新启动(测试dbuser=postgres chown $ dbuser :/tmp/SQL _ test _ case-rsu-$ dbuser CD/tmp/SQL _ test _ caseme ) 请确保没有与环境对应的数据库。 否则, 错误地删除了$ regress-- host=localhost-- port=$ pg _ port-- user=postgres-- dbname=regression-- schedule=serial 例如,如果显示e=parallel_schedule测试结果,并比较expected和results文件夹(如果存在故障),将自定义测试用例添加到sql文件夹中,则limit_mysql.sql将显示例如, test: limit_mysql运行测试,然后在results文件夹中找到` limit_mysql.out并将其归档到expected文件夹中

版权声明:该文观点仅代表作者本人。处理文章:请发送邮件至 三1五14八八95#扣扣.com 举报,一经查实,本站将立刻删除。