Skip to content

Conversation

@samrose
Copy link
Collaborator

@samrose samrose commented Dec 17, 2025

will follow up with PR on these services to change where they look

The PostgreSQL configuration was refactored to use include_dir = '/etc/postgresql-custom/conf.d' which auto-includes all .conf files from that directory. This replaced explicit include statements for individual config files.

However, other services (admin-mgr, supabase-admin-api) still write configuration to the old paths in the parent directory (/etc/postgresql-custom/). Files written there are not auto-included by PostgreSQL.

Added symlinks to maintain backward compatibility:

  • /etc/postgresql-custom/read-replica.conf → conf.d/read_replica.conf
    • admin-mgr writes to the old path when configuring read replicas
  • /etc/postgresql-custom/custom-overrides.conf → conf.d/custom_overrides.conf
    • supabase-admin-api writes custom PostgreSQL settings to the old path

These symlinks allow other services to continue using their existing paths while ensuring the configuration is actually loaded via the new include_dir mechanism.

will follow up with PR on these services to change where they look
@samrose samrose requested review from a team as code owners December 17, 2025 15:45
@samrose samrose closed this Dec 17, 2025
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