Feature Request: Support `BEGIN PRIORITY X` for pgx
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
Research direction
Start by reading the crdbpgx.ExecuteTx() entry point and its transaction initialization path. Trace how transaction options are passed to the database and identify the existing tests around transaction setup; done means callers can specify transaction priority during initialization without the extra SET TRANSACTION PRIORITY round trip.
Written by the indexing model from the issue text.
Description
Currently there is no way to specify the priority of a transaction when using the pgx integration on initialization of the transaction. This results in another round trip to the DB with a SET TRANSACTION PRIORITY.
It would be stellar if there was an option in crdbpgx.ExecuteTx() that would allow specification of a transaction priority.
- Dominant language
- Go
- Stars
- 170
- Forks
- 78
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from cockroachdb/cockroach-go
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
cockroachdb/cockroach-go#188 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 45/100
cockroachdb/cockroach-go#185 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
cockroachdb/cockroach-go#169 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
cockroachdb/cockroach-go#166 · 4 comments ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
cockroachdb/cockroach-go#165 ·
All issues in cockroachdb/cockroach-go
Similar issues
-
☢️ Bug v3
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 1 day
-
area/import-export area/projects concern/ux
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
go-vikunja/vikunja#4455 · 1 comment ·
Maintainers usually reply within 2 days
-
Dependabot PRs no longer merge automaticallyPossibly taken @dwisiswant0 claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
projectdiscovery/urlfinder#160 ·
Maintainers usually reply within 1 day
-
database
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
chnm/legal-modernism#450 ·
Maintainers usually reply within 1 day
-
tech-debt
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day