aboutsummaryrefslogtreecommitdiff
path: root/contrib/postgres_fdw/postgres_fdw.h
diff options
context:
space:
mode:
authorFujii Masao <fujii@postgresql.org>2016-02-08 23:41:46 +0900
committerFujii Masao <fujii@postgresql.org>2016-02-08 23:41:46 +0900
commitf8a1c1d5a30003c9c24b00870d5a0f02f1c81e65 (patch)
tree315372127588fa1b1b63ec0f67ba3c3e01c29a79 /contrib/postgres_fdw/postgres_fdw.h
parenta6897efab92bc7e645b6c6d15274b8d61c53fe8f (diff)
downloadpostgresql-f8a1c1d5a30003c9c24b00870d5a0f02f1c81e65.tar.gz
postgresql-f8a1c1d5a30003c9c24b00870d5a0f02f1c81e65.zip
Make GIN regression test stable.
Commit 7f46eaf added the regression test which checks that gin_clean_pending_list() cleans up the GIN pending list and returns >0. This usually works fine. But if autovacuum comes along and cleans the list before gin_clean_pending_list() starts, the function may return 0, and then the regression test may fail. To fix the problem, this commit disables autovacuum on the target index of gin_clean_pending_list() by setting autovacuum_enabled reloption to off when creating the table. Also this commit sets gin_pending_list_limit reloption to 4MB on the target index. Otherwise when running "make installcheck" with small gin_pending_list_limit GUC, insertions of data may trigger the cleanup of pending list before gin_clean_pending_list() starts and the function may return 0. This could cause the regression test to fail. Per buildfarm member spoonbill. Reported-By: Tom Lane
Diffstat (limited to 'contrib/postgres_fdw/postgres_fdw.h')
0 files changed, 0 insertions, 0 deletions