Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 2cc8c9b

Browse files
committed
Canonicalize pg_dump path.
1 parent f4dc09d commit 2cc8c9b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/udf.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ gen_create_table_sql(PG_FUNCTION_ARGS)
107107
SPI_getvalue(SPI_tuptable->vals[0], SPI_tuptable->tupdesc, 1));
108108
SPI_finish();
109109
join_path_components(pg_dump_path, pg_dump_path, "pg_dump");
110+
canonicalize_path(pg_dump_path);
110111

111112
cmd = psprintf("%s -t '%s' --schema-only --dbname='%s' 2>&1",
112113
pg_dump_path, relation, connstring);

0 commit comments

Comments
 (0)