summaryrefslogtreecommitdiff
path: root/contrib/pg_upgrade/version.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/pg_upgrade/version.c')
-rw-r--r--contrib/pg_upgrade/version.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/pg_upgrade/version.c b/contrib/pg_upgrade/version.c
index 72a4031d72b..e14fdf14ed3 100644
--- a/contrib/pg_upgrade/version.c
+++ b/contrib/pg_upgrade/version.c
@@ -28,7 +28,7 @@ new_9_0_populate_pg_largeobject_metadata(migratorContext *ctx, bool check_mode,
prep_status(ctx, "Checking for large objects");
snprintf(output_path, sizeof(output_path), "%s/pg_largeobject.sql",
- ctx->output_dir);
+ ctx->cwd);
for (dbnum = 0; dbnum < active_cluster->dbarr.ndbs; dbnum++)
{