Skip to content

Postgres connection env vars#1196

Closed
lovasoa wants to merge 3 commits into
mainfrom
cursor/postgres-connection-env-vars-a689
Closed

Postgres connection env vars#1196
lovasoa wants to merge 3 commits into
mainfrom
cursor/postgres-connection-env-vars-a689

Conversation

@lovasoa

@lovasoa lovasoa commented Jan 21, 2026

Copy link
Copy Markdown
Collaborator

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

Co-authored-by: contact <contact@ophir.dev>
@cursor

cursor Bot commented Jan 21, 2026

Copy link
Copy Markdown

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

cursoragent and others added 2 commits January 21, 2026 10:34
…ency

Co-authored-by: contact <contact@ophir.dev>
Co-authored-by: contact <contact@ophir.dev>
@lovasoa lovasoa closed this Jul 24, 2026
@lovasoa
lovasoa deleted the cursor/postgres-connection-env-vars-a689 branch July 24, 2026 21:41
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.

2 participants