OSDN Git Service

Add regression tests for pgs2norm function's result cache mechanism.
authorMasaoFujii <masao.fujii@gmail.com>
Fri, 28 Aug 2015 09:28:51 +0000 (18:28 +0900)
committerMasaoFujii <masao.fujii@gmail.com>
Fri, 28 Aug 2015 09:28:51 +0000 (18:28 +0900)
commitc5a28dff67eea0f1442c67002687e482ee8446c5
treec37394d56d541cf3c9c8a75f73b449199d3d9fae
parent34726668ae1c0c9c3258738a8243b129fd172524
Add regression tests for pgs2norm function's result cache mechanism.

This patch allows us to specify PGS2_DEBUG flag when executing "make"
command to compile ludia_funcs as follows. If "make installcheck" is ran
with PGS2_DEBUG flag, the regression tests checking whether pgs2norm
function caches the normalization result expectedly is executed.

    $ make USE_PGXS=1 PGS2_DEBUG=1 ...

Original patch by Ayumi Ishii, heavily modified by me.
Makefile
expected/ludia_funcs.out
expected/pgs2-debug.out [new file with mode: 0644]
sql/ludia_funcs.sql
sql/pgs2-debug.sql [new file with mode: 0644]