Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Name the pool settings dbkit/postgres refuses by an app's own setting

Aperta
#91 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
Mezza giornata
Idoneità per principianti
55/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
go, postgresql
Ambito
database

Direzione di ricerca

Start in the dbkit/postgres package at Open, where pool_max_conns, pool_min_conns and pool_min_idle_conns are refused with a message that names Options.MaxConns. Find where the pool settings are read from the address and add a check for pool_max_conn_idle_time, one of the eight pgx 5.11 pool settings. Done when an address with each refused key returns an error naming the key the app's user sees, that error is exported, and idle time is validated.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

enhancement help wanted

What

  • dbkit/postgres Open refuses pool_max_conns, pool_min_conns and pool_min_idle_conns with a message that names Options.MaxConns, a Go option the person editing the address never sees. Export the error, or the key it found, so an app can name its own setting instead.
  • Open does not check pool_max_conn_idle_time, one of the eight pool settings pgx 5.11 reads from an address.

Why

An app that sizes the pool from its own setting cannot point people to that setting today, and one pool setting slips past the checks.

Lingua principale
Go
Stelle
69
Fork
3
Merge medio
9h 11m
PR unite (30g)
38

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di gopherium/framework

Tutte le issue di gopherium/framework

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.