Skip to content

feat: Add ORIOLEDB_ENABLED into /etc/environment.d/postgresql.env - #2362

Merged
za-arthur merged 1 commit into
developfrom
artur/orioledb_enabled_by_optimizations
Aug 13, 2026
Merged

feat: Add ORIOLEDB_ENABLED into /etc/environment.d/postgresql.env#2362
za-arthur merged 1 commit into
developfrom
artur/orioledb_enabled_by_optimizations

Conversation

@za-arthur

Copy link
Copy Markdown
Contributor

What kind of change does this PR introduce?

database-optimizations.service ignores ORIOLEDB_ENABLED variable, which is defined in /etc/environment. This PR adds it into /etc/environment.d/postgresql.env similar to other variables and explicitly use it in the database-optimizations.service similar to postgresql.service. We keep /etc/environment unchanged for backward compatibility.

What is the current behavior?

database-optimizations.service ignores ORIOLEDB_ENABLED variable

What is the new behavior?

database-optimizations.service respects ORIOLEDB_ENABLED variable defined in /etc/environment.d/postgresql.env

Additional context

https://linear.app/supabase/issue/PSQL-1621

@za-arthur
za-arthur requested review from a team as code owners August 13, 2026 15:24
Comment thread ansible/files/database-optimizations.service Outdated
Comment thread ansible/tasks/stage2-setup-postgres.yml Outdated
@mmlb

mmlb commented Aug 13, 2026

Copy link
Copy Markdown
Collaborator

ok lgtm, will wait for the testinfra builds to make sure I didn't read anything wrong :|

database-optimizations.service ignores ORIOLEDB_ENABLED variabled, which
is defined in /etc/environment. This commit adds it into
/etc/environment.d/postgresql.env similar to other variables and
explicitely use it in the database-optimizations.service similar to
postgresql.service. We keep /etc/environment unchanged for backward
compatibility.
@za-arthur
za-arthur force-pushed the artur/orioledb_enabled_by_optimizations branch from 050448b to 91c10fc Compare August 13, 2026 17:55
@za-arthur
za-arthur added this pull request to the merge queue Aug 13, 2026
Merged via the queue into develop with commit 4c3b854 Aug 13, 2026
112 checks passed
@za-arthur
za-arthur deleted the artur/orioledb_enabled_by_optimizations branch August 13, 2026 23:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants