Skip to content

Commit fbc89f6

Browse files
committed
fix Valgrind startup & config
1 parent add3e9c commit fbc89f6

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

.travis.yml

+2
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ env:
2121
- PG_VERSION=10 LEVEL=nightmare
2222
- PG_VERSION=10 LEVEL=hardcore
2323
- PG_VERSION=10
24+
- PG_VERSION=9.6 LEVEL=nightmare
2425
- PG_VERSION=9.6 LEVEL=hardcore
2526
- PG_VERSION=9.6
2627
- PG_VERSION=9.5 LEVEL=hardcore
@@ -29,3 +30,4 @@ env:
2930
matrix:
3031
allow_failures:
3132
- env: PG_VERSION=10 LEVEL=nightmare
33+
- env: PG_VERSION=9.6 LEVEL=nightmare

run_tests.sh

-1
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,6 @@ if [ "$LEVEL" = "nightmare" ]; then
106106
--trace-children=yes \
107107
--gen-suppressions=all \
108108
--suppressions=$CUSTOM_PG_SRC/src/tools/valgrind.supp \
109-
--suppressions=$PWD/valgrind.supp \
110109
--log-file=/tmp/valgrind-%p.log \
111110
pg_ctl start -l /tmp/postgres.log -w || status=$?
112111
else

src/hooks.c

+2
Original file line numberDiff line numberDiff line change
@@ -826,6 +826,8 @@ pathman_relcache_hook(Datum arg, Oid relid)
826826
if (relid == InvalidOid)
827827
{
828828
invalidate_pathman_status_info_cache();
829+
830+
/* FIXME: reset other caches as well */
829831
}
830832

831833
/* Invalidation event for PATHMAN_CONFIG table (probably DROP) */

0 commit comments

Comments
 (0)