yesodweb / yesodweb/persistent

[Feature request] add support for PostgreSQL connection URI's ...

Open
#858 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement good first issue Postgres
Dominant language
Haskell
Stars
486
Forks
306
PR merge metrics
No merged PRs in 30d

Description

... as described here, and used here (and possibly elsewhere).

Something like a corresponding YESOD_DATABASE_URL environment variable in the scaffolded site to override it would be helpful too.

Would this require drastic reworking of Persistent, or would it be less painful than that?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the PostgreSQL libpq connection-string documentation linked in the issue, then inspect Persistent's PostgreSQL support and the scaffolded site's database configuration. Determine how PostgreSQL connection URIs and a YESOD_DATABASE_URL override should integrate, and define tests or examples that demonstrate both forms work.

Written by the indexing model from the issue text.

Assessment

Tech stack
haskell, postgresql
Domain
databases
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.