Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Postgres connection env vars #1196

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
lovasoa wants to merge 3 commits into main
base: main
Choose a base branch
Loading
from cursor/postgres-connection-env-vars-a689

Conversation

@lovasoa
Copy link
Collaborator

@lovasoa lovasoa commented Jan 21, 2026

Add support for standard PostgreSQL environment variables to configure database connections.

This allows SQLPage to automatically configure PostgreSQL connections using PGHOST, PGUSER, PGPASSWORD, etc., when no database_url is explicitly set. It also enables using PGPASSWORD if a configured database_url lacks a password and database_password is not explicitly provided, ensuring environment variables are respected while explicit configuration takes precedence.


Open in Cursor Open in Web

Copy link

cursor bot commented Jan 21, 2026

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /