From 3bee41c80b6408113b2bee9d707a55c02f7d250c Mon Sep 17 00:00:00 2001 From: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Date: Wed, 23 Apr 2025 11:57:29 +0000 Subject: [PATCH] Update README to mention database dropping in regular-test.sh Co-Authored-By: alexeymasterov@neon.tech --- docker-compose/ext-src/README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/docker-compose/ext-src/README.md b/docker-compose/ext-src/README.md index 6f05cdcc23..ac0a0ba4c8 100644 --- a/docker-compose/ext-src/README.md +++ b/docker-compose/ext-src/README.md @@ -58,9 +58,10 @@ The extensions in this directory are used by the `test_extensions_upgrade.sh` sc For testing with regular users (particularly for cloud instances), each extension directory typically contains a `regular-test.sh` script that: -1. Creates a test database -2. Installs the extension -3. Runs regression tests +1. Drops the database if it exists +2. Creates a fresh test database +3. Installs the extension +4. Runs regression tests A note about pg_regress: Since pg_regress attempts to set `lc_messages` for the database by default (which can cause issues), we create databases manually and use the `--use-existing` option to bypass this limitation.