放到postgresql源代码中的contrib目录下 git clone https://github.com/theory/pgtap.git make NO_PGXS=1 make NO_PGXG=1 install
进到数据库中, create extension pgtap;
放到postgresql源代码中的contrib目录下 git clone https://github.com/theory/pgtap.git make NO_PGXS=1 make NO_PGXG=1 install
进到数据库中, create extension pgtap;
转载于:https://my.oschina.net/lvhongqing/blog/1498621