Quantinuum / Quantinuum/tmp-postgrust

Allow role and database configuration

Open
#6 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
7
Forks
4
PR merge metrics
No merged PRs in 30d

Description

FATAL: role "demo" does not exist happens a lot when using this in test suites, which is related to this line:

https://github.com/CQCL/tmp-postgrust/blob/5208745c474a98f9eb50d7ac1c18a671618f830d/src/lib.rs#L200

The nearby TODO suggests this ought to be configurable, though I don't remember exactly what my intention was there.

Contributor guide

No contributing guide indexed for this repository

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

Read src/lib.rs around line 200 and the nearby TODO to determine how the role and database settings are currently fixed. The work is done when both values can be configured so test suites do not require the hard-coded demo role.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
databases
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.