From 0eccfbec47d776979d8b6fd7d310bd36a53e8102 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edgar=20Ram=C3=ADrez-Mondrag=C3=B3n?= Date: Sat, 5 Oct 2024 01:35:47 -0600 Subject: [PATCH] Ensure pg data dir exists --- scripts/build/appveyor.py | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/build/appveyor.py b/scripts/build/appveyor.py index d5e444df..6d97fa1e 100755 --- a/scripts/build/appveyor.py +++ b/scripts/build/appveyor.py @@ -99,6 +99,7 @@ def configure_postgres(): Set up PostgreSQL config before the service starts. """ logger.info("Configuring Postgres") + opt.pg_data_dir.mkdir(parents=True, exist_ok=True) with (opt.pg_data_dir / 'postgresql.conf').open('a') as f: # allow > 1 prepared transactions for test cases print("max_prepared_transactions = 10", file=f)