OSDN Git Service

Use @abs_srcdir@ within ut-fdw.source
authorArthur Zakirov <z-arthur@yandex.ru>
Thu, 2 Nov 2017 13:10:10 +0000 (16:10 +0300)
committerKyotaro Horiguchi <horiguchi.kyotaro@lab.ntt.co.jp>
Mon, 6 Nov 2017 06:58:09 +0000 (15:58 +0900)
The file contained absolute path of a specific working directory,
replace them with @abs_srcdir@.

output/ut-fdw.source

index 5d2e949..a065ecd 100644 (file)
@@ -30,9 +30,9 @@ EXPLAIN (COSTS false) SELECT * FROM s1.t1, ft1 ft_1, ft1 ft_2 WHERE t1.c1 = ft_1
    ->  Nested Loop
          Join Filter: (ft_1.id = ft_2.id)
          ->  Foreign Scan on ft1 ft_1
-               Foreign File: /home/horiguti/work/pg_hint_plan/pg_hint_plan/data/data.csv
+               Foreign File: @abs_srcdir@/data/data.csv
          ->  Foreign Scan on ft1 ft_2
-               Foreign File: /home/horiguti/work/pg_hint_plan/pg_hint_plan/data/data.csv
+               Foreign File: @abs_srcdir@/data/data.csv
    ->  Index Scan using t1_i1 on t1
          Index Cond: (c1 = ft_2.id)