diff options
| author | nessita <124304+nessita@users.noreply.github.com> | 2024-09-19 10:37:13 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-09-19 10:37:13 -0300 |
| commit | 92f860e3f4a387e06ea59753ec0a981c0aff2daa (patch) | |
| tree | 0a27a4639631ec7c7da245a2f32d162c09198bf5 /.github/workflows/data/test_postgres.py.tpl | |
| parent | e1d226bc1c52a0165164e5b34fef1d336050ca60 (diff) | |
Refs #35734 -- Added entry to scheduled tests workflow to test newer PostgreSQL versions.
Diffstat (limited to '.github/workflows/data/test_postgres.py.tpl')
| -rw-r--r-- | .github/workflows/data/test_postgres.py.tpl | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/.github/workflows/data/test_postgres.py.tpl b/.github/workflows/data/test_postgres.py.tpl index e121946d3f..15dfa0d62e 100644 --- a/.github/workflows/data/test_postgres.py.tpl +++ b/.github/workflows/data/test_postgres.py.tpl @@ -1,3 +1,4 @@ +import os from test_sqlite import * # NOQA DATABASES = { @@ -8,6 +9,9 @@ DATABASES = { "PASSWORD": "postgres", "HOST": "localhost", "PORT": 5432, + "OPTIONS": { + "server_side_binding": os.getenv("SERVER_SIDE_BINDING") == "1", + }, }, "other": { "ENGINE": "django.db.backends.postgresql", |
